From 6a68937320fa76ce213c648845abc73983fc1849 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 Dec 2017 22:04:49 +0000 Subject: Setup SubtitleDecoder::_position correctly (in some cases). --- src/lib/subtitle_decoder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/subtitle_decoder.cc') diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc index 802c9ef84..5838d167b 100644 --- a/src/lib/subtitle_decoder.cc +++ b/src/lib/subtitle_decoder.cc @@ -40,10 +40,12 @@ using boost::function; SubtitleDecoder::SubtitleDecoder ( Decoder* parent, shared_ptr c, - shared_ptr log + shared_ptr log, + ContentTime first ) : DecoderPart (parent, log) , _content (c) + , _position (first) { } -- cgit v1.2.3