projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace Time::frames with Time::frames_round and Time::frames_floor.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_examiner.cc
diff --git
a/src/lib/ffmpeg_examiner.cc
b/src/lib/ffmpeg_examiner.cc
index bcc5a86a68dbe2b093b95f76702de22df1b64e2e..78d97d21e52e4b4b9f5a12ed052ef33e711701d2 100644
(file)
--- a/
src/lib/ffmpeg_examiner.cc
+++ b/
src/lib/ffmpeg_examiner.cc
@@
-139,7
+139,7
@@
FFmpegExaminer::video_packet (AVCodecContext* context)
if (_need_video_length) {
_video_length = frame_time (
_format_context->streams[_video_stream]
- ).get_value_or (ContentTime ()).frames (video_frame_rate().get ());
+ ).get_value_or (ContentTime ()).frames
_round
(video_frame_rate().get ());
}
}
}