summaryrefslogtreecommitdiff
path: root/src/lib/video_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
commit3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (patch)
tree0b6a71d8d5c8be03ff424da5c5b0b42fb5f3018a /src/lib/video_content.cc
parent30e45dd697afc053f2d7be4ee2bc154e5061ad80 (diff)
Rationalise video/audio frame types.
Diffstat (limited to 'src/lib/video_content.cc')
-rw-r--r--src/lib/video_content.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc
index 404549532..bf13e1c76 100644
--- a/src/lib/video_content.cc
+++ b/src/lib/video_content.cc
@@ -59,7 +59,7 @@ VideoContent::VideoContent (shared_ptr<const Film> f)
setup_default_colour_conversion ();
}
-VideoContent::VideoContent (shared_ptr<const Film> f, DCPTime s, VideoContent::Frame len)
+VideoContent::VideoContent (shared_ptr<const Film> f, DCPTime s, VideoFrame len)
: Content (f, s)
, _video_length (len)
, _video_frame_rate (0)
@@ -83,7 +83,7 @@ VideoContent::VideoContent (shared_ptr<const Film> f, shared_ptr<const cxml::Nod
: Content (f, node)
, _ratio (0)
{
- _video_length = node->number_child<VideoContent::Frame> ("VideoLength");
+ _video_length = node->number_child<VideoFrame> ("VideoLength");
_video_size.width = node->number_child<int> ("VideoWidth");
_video_size.height = node->number_child<int> ("VideoHeight");
_video_frame_rate = node->number_child<float> ("VideoFrameRate");
@@ -356,7 +356,7 @@ VideoContent::video_size_after_crop () const
* @return Corresponding frame index, rounded up so that the frame index
* is that of the next complete frame which starts after `t'.
*/
-VideoContent::Frame
+VideoFrame
VideoContent::time_to_content_video_frames (DCPTime t) const
{
shared_ptr<const Film> film = _film.lock ();