diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-19 23:50:17 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-19 23:50:17 +0000 |
| commit | 2f56f38ce56b36f20d59593f56981e7ed330c484 (patch) | |
| tree | 1889f6eff9545010815775671df54064bc796201 /src/lib/video_decoder.cc | |
| parent | 13337c62d8c0d052ba0377af9c00fe1d940be3cc (diff) | |
Re-work again so that there's just one encoder; various tweaks to still-image-with-audio.
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index e723610b3..e0a7576ee 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -49,7 +49,7 @@ VideoDecoder::emit_video (shared_ptr<Image> image, double t) sub = _timed_subtitle->subtitle (); } - signal_video (image, sub); + signal_video (image, false, sub); _last_source_time = t; } @@ -61,14 +61,14 @@ VideoDecoder::repeat_last_video () _last_image->make_black (); } - signal_video (_last_image, _last_subtitle); + signal_video (_last_image, true, _last_subtitle); } void -VideoDecoder::signal_video (shared_ptr<Image> image, shared_ptr<Subtitle> sub) +VideoDecoder::signal_video (shared_ptr<Image> image, bool same, shared_ptr<Subtitle> sub) { TIMING ("Decoder emits %1", _video_frame); - Video (image, sub); + Video (image, same, sub); ++_video_frame; _last_image = image; |
