sub = _timed_subtitle->subtitle ();
}
- signal_video (image, false, sub, t);
+ signal_video (image, false, sub);
_last_source_time = t;
}
* we will generate a black frame.
*/
void
-VideoDecoder::repeat_last_video (double t)
+VideoDecoder::repeat_last_video ()
{
if (!_last_image) {
_last_image.reset (new SimpleImage (pixel_format(), native_size(), true));
_last_image->make_black ();
}
- signal_video (_last_image, true, _last_subtitle, t);
+ signal_video (_last_image, true, _last_subtitle);
}
/** Emit our signal to say that some video data is ready.
* @param sub Subtitle for this frame, or 0.
*/
void
-VideoDecoder::signal_video (shared_ptr<Image> image, bool same, shared_ptr<Subtitle> sub, double t)
+VideoDecoder::signal_video (shared_ptr<Image> image, bool same, shared_ptr<Subtitle> sub)
{
TIMING (N_("Decoder emits %1"), _video_frame);
- Video (image, same, sub, t);
+ Video (image, same, sub);
++_video_frame;
_last_image = image;