From 3dfdd5795cf6514e15fdbece54c28f3bddc2aadc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jan 2014 13:02:30 +0000 Subject: Rationalise video/audio frame types. --- src/lib/video_content.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/video_content.cc') 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 f) setup_default_colour_conversion (); } -VideoContent::VideoContent (shared_ptr f, DCPTime s, VideoContent::Frame len) +VideoContent::VideoContent (shared_ptr f, DCPTime s, VideoFrame len) : Content (f, s) , _video_length (len) , _video_frame_rate (0) @@ -83,7 +83,7 @@ VideoContent::VideoContent (shared_ptr f, shared_ptrnumber_child ("VideoLength"); + _video_length = node->number_child ("VideoLength"); _video_size.width = node->number_child ("VideoWidth"); _video_size.height = node->number_child ("VideoHeight"); _video_frame_rate = node->number_child ("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 film = _film.lock (); -- cgit v1.2.3