projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52094ba
)
White space.
author
Carl Hetherington
<cth@carlh.net>
Thu, 9 Aug 2018 21:27:39 +0000
(22:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 9 Aug 2018 21:31:11 +0000
(22:31 +0100)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 32e9c231414d8905def48f2a293a7bb4d0415152..9076464ac73aaa318566a1d1cb8f089be8b1173b 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-525,9
+525,10
@@
FFmpegDecoder::decode_video_packet ()
if (i->second != AV_NOPTS_VALUE) {
double const pts = i->second * av_q2d (_format_context->streams[_video_stream.get()]->time_base) + _pts_offset.seconds ();
+
video->emit (
shared_ptr<ImageProxy> (new RawImageProxy (image)),
- llrint
(pts * _ffmpeg_content->active_video_frame_rate
())
+ llrint
(pts * _ffmpeg_content->active_video_frame_rate
())
);
} else {
LOG_WARNING_NC ("Dropping frame without PTS");