Allow DCP content to store and serialise metadata.
[dcpomatic.git] / src / lib / dcp_examiner.h
index c1ba54deed3c34f29d52ed980a6f68c6f5a704ea..21aa8d3ab58537de5c4446f899f94d4bcc4bb459 100644 (file)
@@ -123,6 +123,14 @@ public:
                return _markers;
        }
 
+       std::vector<dcp::Rating> ratings () const {
+               return _ratings;
+       }
+
+       std::string content_version () const {
+               return _content_version;
+       }
+
 private:
        boost::optional<double> _video_frame_rate;
        boost::optional<dcp::Size> _video_size;
@@ -146,4 +154,6 @@ 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;
 };