diff options
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 |
