DCPExaminer must find Atmos length / edit rate.
[dcpomatic.git] / src / lib / dcp_examiner.h
index 21aa8d3ab58537de5c4446f899f94d4bcc4bb459..78d2befd3b3115631d81290f714ed858c6a64809 100644 (file)
@@ -131,6 +131,18 @@ public:
                return _content_version;
        }
 
+       bool has_atmos () const {
+               return _has_atmos;
+       }
+
+       Frame atmos_length () const {
+               return _atmos_length;
+       }
+
+       dcp::Fraction atmos_edit_rate () const {
+               return _atmos_edit_rate;
+       }
+
 private:
        boost::optional<double> _video_frame_rate;
        boost::optional<dcp::Size> _video_size;
@@ -156,4 +168,7 @@ private:
        std::map<dcp::Marker, dcp::Time> _markers;
        std::vector<dcp::Rating> _ratings;
        std::string _content_version;
+       bool _has_atmos;
+       Frame _atmos_length;
+       dcp::Fraction _atmos_edit_rate;
 };