diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-03 01:10:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-04 20:48:35 +0200 |
| commit | 8d9e73b753ed51067d93aa377bb24400ff22936e (patch) | |
| tree | c9db8a0ac290c9ed50c44f707f5a987dbcec64d6 /src/lib/film.h | |
| parent | ea51ac3483161343b7aefabe54420c6cb431c0fe (diff) | |
Move some ISDCF flags to the Interop/SMPTE metadata.
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index fa87c6c35..e0c5cb2f7 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -240,6 +240,10 @@ public: DISTRIBUTOR, FACILITY, STUDIO, + TEMP_VERSION, + PRE_RELEASE, + RED_BAND, + TWO_D_VERSION_OF_THREE_D, LUMINANCE, }; @@ -378,6 +382,22 @@ public: return _studio; } + bool temp_version () const { + return _temp_version; + } + + bool pre_release () const { + return _pre_release; + } + + bool red_band () const { + return _red_band; + } + + bool two_d_version_of_three_d () const { + return _two_d_version_of_three_d; + } + boost::optional<dcp::Luminance> luminance () const { return _luminance; } @@ -422,6 +442,10 @@ public: void set_chain (boost::optional<std::string> c = boost::none); void set_facility (boost::optional<std::string> f = boost::none); void set_studio (boost::optional<std::string> s = boost::none); + void set_temp_version (bool t); + void set_pre_release (bool p); + void set_red_band (bool r); + void set_two_d_version_of_three_d (bool t); void set_distributor (boost::optional<std::string> d = boost::none); void set_luminance (boost::optional<dcp::Luminance> l = boost::none); @@ -529,6 +553,10 @@ private: boost::optional<std::string> _distributor; boost::optional<std::string> _facility; boost::optional<std::string> _studio; + bool _temp_version = false; + bool _pre_release = false; + bool _red_band = false; + bool _two_d_version_of_three_d = false; boost::optional<dcp::Luminance> _luminance; int _state_version; |
