From eb135e8dcdf36ae82420bcd18e954ad593b3e9a5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 13 Dec 2016 15:02:09 +0000 Subject: Reinstate subtitle list view. --- src/lib/text_subtitle_decoder.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 51a747fa9..1b8ee1310 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -50,18 +50,18 @@ TextSubtitleDecoder::seek (ContentTime time, bool) } } -void +bool TextSubtitleDecoder::pass () { if (_next >= _subtitles.size ()) { - return; + return true; } ContentTimePeriod const p = content_time_period (_subtitles[_next]); subtitle->emit_text (p, _subtitles[_next]); ++_next; - return; + return false; } ContentTimePeriod -- cgit v1.2.3