From 89aa9d4ba69e471949f791cdafe4ae20cea554d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Feb 2017 21:42:44 +0000 Subject: Various fixes to push audio vaguely in the right direction. --- src/lib/text_subtitle_decoder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/text_subtitle_decoder.cc') diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc index 1b8ee1310..bdec17a8d 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -42,8 +42,10 @@ TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr } void -TextSubtitleDecoder::seek (ContentTime time, bool) +TextSubtitleDecoder::seek (ContentTime time, bool accurate) { + Decoder::seek (time, accurate); + _next = 0; while (_next < _subtitles.size() && ContentTime::from_seconds (_subtitles[_next].from.all_as_seconds ()) < time) { ++_next; -- cgit v1.2.3