diff options
Diffstat (limited to 'src/lib/subtitle_decoder.cc')
| -rw-r--r-- | src/lib/subtitle_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc index 020a0383c..9c6ac969d 100644 --- a/src/lib/subtitle_decoder.cc +++ b/src/lib/subtitle_decoder.cc @@ -41,7 +41,7 @@ SubtitleDecoder::SubtitleDecoder ( function<list<ContentTimePeriod> (ContentTimePeriod, bool)> image_during, function<list<ContentTimePeriod> (ContentTimePeriod, bool)> text_during ) - : _parent (parent) + : DecoderPart (parent) , _content (c) , _image_during (image_during) , _text_during (text_during) @@ -104,7 +104,7 @@ SubtitleDecoder::get (list<T> const & subs, list<ContentTimePeriod> const & sp, /* Suggest to our parent decoder that it might want to seek if we haven't got what we're being asked for */ if (missing) { - _parent->maybe_seek_subtitle (*missing, true); + maybe_seek (*missing, true); } /* Now enough pass() calls will either: |
