summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-01-04 01:28:54 +0000
committerCarl Hetherington <cth@carlh.net>2017-01-04 01:28:54 +0000
commit11ac33e140f3aa9d6e992880a1e1b3a4ca649355 (patch)
tree6bf84806228017259803c3cd972166dd410c3b33 /src/lib/ffmpeg.cc
parent3327fcba6db6c0b2e70ccca81340f5d5781cae0d (diff)
Rename Time::round_up to Time::ceil.
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc2
1 files changed, 1 insertions, 1 deletions
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<shared_ptr<FFmpegAudioStream> > 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;