summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-06 22:55:11 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-06 22:55:11 +0000
commitb0802a7644c12bc039c070367440439f7afe133a (patch)
tree2fa4a2c322304f48bab0994bb37aa803fa3b344c /src/lib/video_decoder.cc
parent085d9d4966c32aa1f3661c597b4bc2b47eaefa40 (diff)
Hopefully fix up still-image generation.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index 9c0d2bbe3..16a076698 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -45,14 +45,14 @@ VideoDecoder::VideoDecoder (shared_ptr<Film> f, DecodeOptions o)
* @param t Time of the frame within the source, in seconds.
*/
void
-VideoDecoder::emit_video (shared_ptr<Image> image, double t)
+VideoDecoder::emit_video (shared_ptr<Image> image, bool same, double t)
{
shared_ptr<Subtitle> sub;
if (_timed_subtitle && _timed_subtitle->displayed_at (t)) {
sub = _timed_subtitle->subtitle ();
}
- Video (image, false, sub, t);
+ Video (image, same, sub, t);
++_video_frame;
_last_source_time = t;