From 878e19aabf2278828a3c9b518e0804b2cef0c01e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 20 Nov 2016 23:58:51 +0000 Subject: Some more decode logging. --- src/lib/text_subtitle_decoder.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/text_subtitle_decoder.cc') diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc index 1576f50a1..ec60bd36b 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -34,7 +34,7 @@ using boost::shared_ptr; using boost::optional; using boost::dynamic_pointer_cast; -TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr content) +TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr content, shared_ptr log) : TextSubtitle (content) , _next (0) { @@ -42,6 +42,7 @@ TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr new SubtitleDecoder ( this, content->subtitle, + log, bind (&TextSubtitleDecoder::image_subtitles_during, this, _1, _2), bind (&TextSubtitleDecoder::text_subtitles_during, this, _1, _2) ) -- cgit v1.2.3