diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-20 15:20:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-20 15:20:56 +0100 |
| commit | f82bdaa6ffe1a9e62a010de405f8bbb7ea392f00 (patch) | |
| tree | 8eb15d2df9cd0bed17684d79ba481d453e344eaf /src/lib/config.h | |
| parent | b6746acdc852bb33a386cff6109e03d1791cb310 (diff) | |
Add advanced configuration option to allow any container ratio,
specifically because the GDC SX-2001 will only play 25fps DCPs
with a 16:9 ratio (not Flat).
https://www.dcpomatic.com/forum/viewtopic.php?f=2&t=1119&p=4470
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 4c24e816b..dbe6a9c21 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -148,6 +148,10 @@ public: return _allow_any_dcp_frame_rate; } + bool allow_any_container () const { + return _allow_any_container; + } + ISDCFMetadata default_isdcf_metadata () const { return _default_isdcf_metadata; } @@ -488,6 +492,10 @@ public: maybe_set (_allow_any_dcp_frame_rate, a); } + void set_allow_any_container (bool a) { + maybe_set (_allow_any_container, a); + } + void set_default_isdcf_metadata (ISDCFMetadata d) { maybe_set (_default_isdcf_metadata, d); } @@ -857,6 +865,11 @@ private: std::list<int> _allowed_dcp_frame_rates; /** Allow any video frame rate for the DCP; if true, overrides _allowed_dcp_frame_rates */ bool _allow_any_dcp_frame_rate; + /** Allow any container ratio, not just the standard ones. GDC SX-2001 will not play Flat + DCPs at 25fps but will play 16:9, so this is very useful for some users. + https://www.dcpomatic.com/forum/viewtopic.php?f=2&t=1119&p=4468 + */ + bool _allow_any_container; /** Default ISDCF metadata for newly-created Films */ ISDCFMetadata _default_isdcf_metadata; boost::optional<std::string> _language; |
