diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-14 21:06:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-14 21:06:23 +0100 |
| commit | 317222764debbaf1ac96d256df24c00af85c1b6a (patch) | |
| tree | 6612f970141b3a40387e800655a8a736f074ee77 /src/lib/ffmpeg_decoder.cc | |
| parent | 21e8238484af35ac207b01defe406e73445632be (diff) | |
Add ImageProxy class.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index c93012608..7a5bf8ba8 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -42,6 +42,7 @@ extern "C" { #include "filter_graph.h" #include "audio_buffers.h" #include "ffmpeg_content.h" +#include "image_proxy.h" #include "i18n.h" @@ -502,13 +503,13 @@ FFmpegDecoder::decode_video_packet () ); black->make_black (); - video (image, false, _video_position); + video (shared_ptr<ImageProxy> (new RawImageProxy (image)), false, _video_position); delta -= one_frame; } if (delta > -one_frame) { /* This PTS is within a frame of being right; emit this (otherwise it will be dropped) */ - video (image, false, _video_position); + video (shared_ptr<ImageProxy> (new RawImageProxy (image)), false, _video_position); } } else { |
