diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-15 00:47:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-15 00:47:53 +0100 |
| commit | 3dfe3b92df03eee932f3c92336197559c11a5913 (patch) | |
| tree | 6e746f0abe0b7867974d20bc6a80d012518e9b3d /src/lib/film.h | |
| parent | d6e899f5f9e3f3db10dbe17cf68508556ad5a83c (diff) | |
Support content version metadata (#782).
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 4c45c4ffc..68f8b5334 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -239,7 +239,8 @@ public: UPLOAD_AFTER_MAKE_DCP, REENCODE_J2K, MARKERS, - RATINGS + RATINGS, + CONTENT_VERSION }; @@ -344,6 +345,10 @@ public: return _ratings; } + std::string content_version () const { + return _content_version; + } + /* SET */ void set_directory (boost::filesystem::path); @@ -377,6 +382,7 @@ public: void set_marker (dcp::Marker type, dcpomatic::DCPTime time); void unset_marker (dcp::Marker type); void set_ratings (std::vector<dcp::Rating> r); + void set_content_version (std::string v); /** Emitted when some property has of the Film is about to change or has changed */ mutable boost::signals2::signal<void (ChangeType, Property)> Change; @@ -461,6 +467,7 @@ private: bool _user_explicit_video_frame_rate; std::map<dcp::Marker, dcpomatic::DCPTime> _markers; std::vector<dcp::Rating> _ratings; + std::string _content_version; int _state_version; |
