summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-13 15:02:09 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commiteb135e8dcdf36ae82420bcd18e954ad593b3e9a5 (patch)
treef63742f6409c182482e7204aaf024ce93c63bc20 /src/lib/dcp_subtitle_decoder.cc
parent22b13599407e45d85d1c83e0805aa14965b0ab19 (diff)
Reinstate subtitle list view.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.cc')
-rw-r--r--src/lib/dcp_subtitle_decoder.cc5
1 files changed, 3 insertions, 2 deletions
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