summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-21 23:32:42 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-21 23:51:38 +0200
commit5f3a88d3ab1e9c1a13d7e61fc37a0c4cef8df9a5 (patch)
treed9d66af89bd2c9864ad5242e5aaece551e72ce1e /src/lib/dcp_content.h
parentf5980767b7d1d9b39186dd13f12b9d8297a87aef (diff)
Allow DCP content to store and serialise metadata.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 8658ac5ed..6d707670f 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -158,6 +158,14 @@ public:
Resolution resolution () const;
+ std::vector<dcp::Rating> ratings () const {
+ return _ratings;
+ }
+
+ std::string content_version () const {
+ return _content_version;
+ }
+
private:
friend class reels_test5;
@@ -205,6 +213,8 @@ private:
/** List of the lengths of the reels in this DCP */
std::list<int64_t> _reel_lengths;
std::map<dcp::Marker, dcpomatic::ContentTime> _markers;
+ std::vector<dcp::Rating> _ratings;
+ std::string _content_version;
};
#endif