Reinstate subtitle list view.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index ea24bb1c50d0f62e1d93fdf1c84ddc5777dbdc08..120836643dfcd8019581cf512c6462bd39be3a71 100644 (file)
@@ -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