From 880719c0bf2f2ce99ca44a5f5289fdd30962246a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Dec 2012 16:18:10 +0000 Subject: Fix being tested. --- src/lib/video_decoder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/video_decoder.cc') diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index 4c05d5fcd..f4501bbf3 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -38,13 +38,15 @@ VideoDecoder::VideoDecoder (shared_ptr f, shared_ptr /** Called by subclasses to tell the world that some video data is ready. * We find a subtitle then emit it for listeners. - * @param frame to emit. + * @param image frame to emit. + * @param f Frame within the source. */ void VideoDecoder::emit_video (shared_ptr image, SourceFrame f) { shared_ptr sub; if (_timed_subtitle && _timed_subtitle->displayed_at (f / _film->frames_per_second())) { + _film->log()->log (String::compose ("putting subtitle using %1 instead of %2", f, video_frame())); sub = _timed_subtitle->subtitle (); } -- cgit v1.2.3