Some more decode logging.
[dcpomatic.git] / src / lib / text_subtitle_decoder.cc
index 1576f50a19ddbe05c49ddb0c1681333ba377f40b..ec60bd36b52327a838cf73460c01f0ad74c04b16 100644 (file)
@@ -34,7 +34,7 @@ using boost::shared_ptr;
 using boost::optional;
 using boost::dynamic_pointer_cast;
 
-TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent> content)
+TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent> content, shared_ptr<Log> log)
        : TextSubtitle (content)
        , _next (0)
 {
@@ -42,6 +42,7 @@ TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent>
                new SubtitleDecoder (
                        this,
                        content->subtitle,
+                       log,
                        bind (&TextSubtitleDecoder::image_subtitles_during, this, _1, _2),
                        bind (&TextSubtitleDecoder::text_subtitles_during, this, _1, _2)
                        )