Remove PassReason stuff.
[dcpomatic.git] / src / lib / subtitle_decoder.cc
index 2efe9afb692bdebcf3b4a3d8e44c7e655a3f02c9..93493aa70ae67d5d207471b2ada30db4988a711e 100644 (file)
@@ -70,7 +70,7 @@ SubtitleDecoder::get (list<T> const & subs, list<ContentTimePeriod> const & sp,
         *  (a) give us what we want, or
         *  (b) hit the end of the decoder.
         */
-       while (!pass(PASS_REASON_SUBTITLE) && (subs.empty() || (subs.back().period().to < sp.back().to))) {}
+       while (!pass () && (subs.empty() || (subs.back().period().to < sp.back().to))) {}
 
        /* Now look for what we wanted in the data we have collected */
        /* XXX: inefficient */