diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-21 23:32:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-21 23:51:38 +0200 |
| commit | 5f3a88d3ab1e9c1a13d7e61fc37a0c4cef8df9a5 (patch) | |
| tree | d9d66af89bd2c9864ad5242e5aaece551e72ce1e /src/lib/dcp_content.h | |
| parent | f5980767b7d1d9b39186dd13f12b9d8297a87aef (diff) | |
Allow DCP content to store and serialise metadata.
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 10 |
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 |
