From 0ce7f98699ff7d72fc91e5c9781b431ca36d7af9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 May 2014 10:42:06 +0100 Subject: Add missing seek stuff to SubtitleDecoder. --- src/lib/subrip_decoder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/subrip_decoder.cc') diff --git a/src/lib/subrip_decoder.cc b/src/lib/subrip_decoder.cc index 013c6fab7..cdc8ccbfe 100644 --- a/src/lib/subrip_decoder.cc +++ b/src/lib/subrip_decoder.cc @@ -31,8 +31,10 @@ SubRipDecoder::SubRipDecoder (shared_ptr content) } void -SubRipDecoder::seek (ContentTime time, bool) +SubRipDecoder::seek (ContentTime time, bool accurate) { + SubtitleDecoder::seek (time, accurate); + _next = 0; list::const_iterator i = _subtitles[_next].pieces.begin(); while (i != _subtitles[_next].pieces.end() && _subtitles[_next].from < time) { -- cgit v1.2.3