diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-02 10:42:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-02 10:42:06 +0100 |
| commit | 0ce7f98699ff7d72fc91e5c9781b431ca36d7af9 (patch) | |
| tree | 773f8bc5caccbd1d3bf4c78634758fbc4953b98e /src/lib/subrip_decoder.cc | |
| parent | c7c2502bc261bf3d81e96ddde9e189b9527dbc9e (diff) | |
Add missing seek stuff to SubtitleDecoder.
Diffstat (limited to 'src/lib/subrip_decoder.cc')
| -rw-r--r-- | src/lib/subrip_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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<const SubRipContent> content) } void -SubRipDecoder::seek (ContentTime time, bool) +SubRipDecoder::seek (ContentTime time, bool accurate) { + SubtitleDecoder::seek (time, accurate); + _next = 0; list<SubRipSubtitlePiece>::const_iterator i = _subtitles[_next].pieces.begin(); while (i != _subtitles[_next].pieces.end() && _subtitles[_next].from < time) { |
