Make player more tolerant of some DCP errors.
[dcpomatic.git] / src / lib / dcp_decoder.cc
index b6947211c1d8ddf05461a62e5b78605088c39121..90b730f5b5d921fb58a8d5535f230d6bb8e3e6f4 100644 (file)
@@ -56,8 +56,8 @@ using boost::dynamic_pointer_cast;
 using boost::optional;
 using namespace dcpomatic;
 
-DCPDecoder::DCPDecoder (shared_ptr<const Film> film, shared_ptr<const DCPContent> c, bool fast, shared_ptr<DCPDecoder> old)
-       : DCP (c)
+DCPDecoder::DCPDecoder (shared_ptr<const Film> film, shared_ptr<const DCPContent> c, bool fast, bool tolerant, shared_ptr<DCPDecoder> old)
+       : DCP (c, tolerant)
        , Decoder (film)
        , _decode_referenced (false)
 {