Rename Time::round_up to Time::ceil.
[dcpomatic.git] / test / seek_zero_test.cc
index faf4c9eac7c35ad5521d5ebb7e7a609446369761..0329364d97ed6a555f8c10859bbe6fcff1bcaf14 100644 (file)
@@ -62,7 +62,7 @@ BOOST_AUTO_TEST_CASE (seek_zero_test)
                video_delay = ContentTime ();
        }
 
-       Frame const first_frame = video_delay.round_up (content->active_video_frame_rate ()).frames_round (content->active_video_frame_rate ());
+       Frame const first_frame = video_delay.ceil (content->active_video_frame_rate ()).frames_round (content->active_video_frame_rate ());
 
        FFmpegDecoder decoder (content, film->log());
        list<ContentVideo> a = decoder.video->get (first_frame, true);