diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-13 15:02:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | eb135e8dcdf36ae82420bcd18e954ad593b3e9a5 (patch) | |
| tree | f63742f6409c182482e7204aaf024ce93c63bc20 /src/lib/text_subtitle_decoder.cc | |
| parent | 22b13599407e45d85d1c83e0805aa14965b0ab19 (diff) | |
Reinstate subtitle list view.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
| -rw-r--r-- | src/lib/text_subtitle_decoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
