Avoid decoding other packets when looking for subs.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 1c6b973d683913722e4b6cecb2570bed205b0f21..0f1cda209dd7d460f8d37cb371f8a1a801e1646b 100644 (file)
@@ -47,7 +47,7 @@ DCPSubtitleDecoder::seek (ContentTime time, bool accurate)
 }
 
 bool
-DCPSubtitleDecoder::pass ()
+DCPSubtitleDecoder::pass (PassReason)
 {
        if (_next == _subtitles.end ()) {
                return true;