Make player more tolerant of some DCP errors.
[dcpomatic.git] / src / lib / dcp_examiner.h
index 199ac39851e4229e57949b33e7cd62043e22f771..e52234e360fde46d827c6238abc6407c25810b3b 100644 (file)
@@ -31,7 +31,7 @@ class DCPContent;
 class DCPExaminer : public DCP, public VideoExaminer, public AudioExaminer
 {
 public:
-       explicit DCPExaminer (boost::shared_ptr<const DCPContent>);
+       explicit DCPExaminer (boost::shared_ptr<const DCPContent>, bool tolerant);
 
        bool has_video () const {
                return _has_video;
@@ -55,6 +55,10 @@ public:
                return false;
        }
 
+       VideoRange range () const {
+               return VIDEO_RANGE_FULL;
+       }
+
        std::string name () const {
                return _name;
        }