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/dcp_subtitle_decoder.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/dcp_subtitle_decoder.cc') diff --git a/src/lib/dcp_subtitle_decoder.cc b/src/lib/dcp_subtitle_decoder.cc index ea24bb1c5..120836643 100644 --- a/src/lib/dcp_subtitle_decoder.cc +++ b/src/lib/dcp_subtitle_decoder.cc @@ -47,11 +47,11 @@ DCPSubtitleDecoder::seek (ContentTime time, bool) } } -void +bool DCPSubtitleDecoder::pass () { if (_next == _subtitles.end ()) { - return; + return true; } /* Gather all subtitles with the same time period that are next @@ -70,6 +70,7 @@ DCPSubtitleDecoder::pass () } subtitle->emit_text (p, s); + return false; } ContentTimePeriod -- cgit v1.2.3