Some more decode logging.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index fe383226ee7a33f27a474248feba3c9077bd13f3..daafee3e5acfaf687a6d4b5de76f064dfeede0df 100644 (file)
@@ -28,12 +28,13 @@ using std::cout;
 using boost::shared_ptr;
 using boost::bind;
 
-DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> content)
+DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> content, shared_ptr<Log> log)
 {
        subtitle.reset (
                new SubtitleDecoder (
                        this,
                        content->subtitle,
+                       log,
                        bind (&DCPSubtitleDecoder::image_subtitles_during, this, _1, _2),
                        bind (&DCPSubtitleDecoder::text_subtitles_during, this, _1, _2)
                        )