Setup SubtitleDecoder::_position correctly (in some cases).
[dcpomatic.git] / src / lib / subtitle_decoder.cc
index 802c9ef84cfaa7578b84a58995819cd9da5cc73b..5838d167be7913c301d7b46369d23555de9b65d7 100644 (file)
@@ -40,10 +40,12 @@ using boost::function;
 SubtitleDecoder::SubtitleDecoder (
        Decoder* parent,
        shared_ptr<const SubtitleContent> c,
-       shared_ptr<Log> log
+       shared_ptr<Log> log,
+       ContentTime first
        )
        : DecoderPart (parent, log)
        , _content (c)
+       , _position (first)
 {
 
 }