Basics of subtitle split.
[dcpomatic.git] / src / lib / text_subtitle_decoder.cc
index c94a002f550bdec8f0cc73ac399261178289c145..36e44cc99012936979cdb84bee26bb65a74bfdf1 100644 (file)
@@ -33,7 +33,7 @@ using boost::optional;
 using boost::dynamic_pointer_cast;
 
 TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent> content)
-       : SubtitleDecoder (content)
+       : SubtitleDecoder (content->subtitle)
        , TextSubtitle (content)
        , _next (0)
 {