From 11ac33e140f3aa9d6e992880a1e1b3a4ca649355 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 Jan 2017 01:28:54 +0000 Subject: Rename Time::round_up to Time::ceil. --- src/lib/ffmpeg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ffmpeg.cc') diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index af6c8e167..ce87cc14f 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -381,7 +381,7 @@ FFmpeg::pts_offset (vector > audio_streams, option /* Now adjust so that the video pts starts on a frame */ if (first_video) { ContentTime const fvc = first_video.get() + po; - po += fvc.round_up (video_frame_rate) - fvc; + po += fvc.ceil (video_frame_rate) - fvc; } return po; -- cgit v1.2.3