Reinstate subtitle list view.
[dcpomatic.git] / src / lib / text_subtitle_decoder.cc
index 51a747fa9343b66d11a6472ff2b6d833aee13530..1b8ee131004bd4fdb8f50e8399960c9ae45f7372 100644 (file)
@@ -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