Basics of subtitle split.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 1bcc7fcf17844926eb217095ecc559b7cfab4fbe..964ee6f202cea7e8ef0b5d503dab34ac07b446fb 100644 (file)
@@ -27,7 +27,7 @@ using std::cout;
 using boost::shared_ptr;
 
 DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> content)
-       : SubtitleDecoder (content)
+       : SubtitleDecoder (content->subtitle)
 {
        shared_ptr<dcp::SubtitleAsset> c (load (content->path (0)));
        _subtitles = c->subtitles ();