DCPExaminer must find Atmos length / edit rate.
[dcpomatic.git] / src / lib / dcp_examiner.h
index c1ba54deed3c34f29d52ed980a6f68c6f5a704ea..78d2befd3b3115631d81290f714ed858c6a64809 100644 (file)
@@ -123,6 +123,26 @@ public:
                return _markers;
        }
 
+       std::vector<dcp::Rating> ratings () const {
+               return _ratings;
+       }
+
+       std::string content_version () const {
+               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;
@@ -146,4 +166,9 @@ private:
        std::string _cpl;
        std::list<int64_t> _reel_lengths;
        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;
 };