Revert "Split timed from untimed sinks / sources. Should produce same output, in...
[dcpomatic.git] / src / lib / video_decoder.cc
index 773688b34e668571bb5891e3f198e0b47eab478d..891720f6b85ecb04a4185e92ac49821fd228bf12 100644 (file)
@@ -51,7 +51,7 @@ VideoDecoder::emit_video (shared_ptr<Image> image, double t)
                sub = _timed_subtitle->subtitle ();
        }
 
-       signal_video (image, false, sub, t);
+       signal_video (image, false, sub);
        _last_source_time = t;
 }
 
@@ -60,14 +60,14 @@ VideoDecoder::emit_video (shared_ptr<Image> image, double 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.
@@ -76,10 +76,10 @@ VideoDecoder::repeat_last_video (double t)
  *  @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;