diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-09 22:27:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-09 22:31:11 +0100 |
| commit | e41677a322965fd964c15368de2f3e027229f361 (patch) | |
| tree | 6628a41a299b0c74588f0799043221d1d7169c38 | |
| parent | 52094ba65baa38dfcedc907cfb4314efb1a549b4 (diff) | |
White space.
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 32e9c2314..9076464ac 100644 --- 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"); |
