diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-17 15:52:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-19 23:07:52 +0200 |
| commit | a6a6d8a7a1c4c59bac9de6fa8f4cd879ebeef55d (patch) | |
| tree | ce23c7951554df079f09259dd1a33f1c0c210151 /src/lib/film.h | |
| parent | e9627c2ac61551e3598601805d12938479ad3dff (diff) | |
Generalise SMPTE Bv2.0 limitation to also support SMPTE A.smpte-a
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 43a41ad45..c3f69bd1c 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -37,6 +37,7 @@ #include "named_channel.h" #include "resolution.h" #include "signaller.h" +#include "smpte_flavour.h" #include "territory_type.h" #include "transcode_job.h" #include "types.h" @@ -275,8 +276,8 @@ public: return _interop; } - bool limit_to_smpte_bv20() const { - return _limit_to_smpte_bv20; + dcp::SMPTEFlavour smpte_flavour() const { + return _smpte_flavour; } AudioProcessor const * audio_processor () const { @@ -404,7 +405,7 @@ public: void set_isdcf_date_today (); void set_sequence (bool); void set_interop (bool); - void set_limit_to_smpte_bv20(bool); + void set_smpte_flavour(dcp::SMPTEFlavour flavour); void set_audio_processor (AudioProcessor const * processor); void set_reel_type (ReelType); void set_reel_length (int64_t); @@ -519,7 +520,7 @@ private: bool _three_d; bool _sequence; bool _interop; - bool _limit_to_smpte_bv20; + dcp::SMPTEFlavour _smpte_flavour = dcp::SMPTEFlavour::BV21; AudioProcessor const * _audio_processor; ReelType _reel_type; /** Desired reel length in bytes, if _reel_type == REELTYPE_BY_LENGTH */ |
