diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-18 16:18:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-18 16:18:10 +0000 |
| commit | 880719c0bf2f2ce99ca44a5f5289fdd30962246a (patch) | |
| tree | cd83af4cc1e7c6e8abdcc678ef217f25def2a400 /src/lib/video_decoder.cc | |
| parent | 3b03f47d632d2a1da25aab689a59ad5701e7d63c (diff) | |
Fix being tested.
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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<Film> f, shared_ptr<const DecodeOptions> /** 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> image, SourceFrame f) { shared_ptr<Subtitle> 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 (); } |
