diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-17 23:22:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-17 23:48:22 +0100 |
| commit | ec18743d91476f4a712644179c2d654d8702349c (patch) | |
| tree | 9910d0f689847cd0bb21520aaac68af671d63707 /src/lib/config.h | |
| parent | 86ccabf14528318c640d211e79f441ca2dcdf14d (diff) | |
Add preference for the default number of DCP channels (#897).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 6baa434a3..1ffcfdb98 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -152,6 +152,10 @@ public: return _default_dcp_content_type; } + int default_dcp_audio_channels () const { + return _default_dcp_audio_channels; + } + std::string dcp_issuer () const { return _dcp_issuer; } @@ -351,6 +355,10 @@ public: maybe_set (_default_dcp_content_type, t); } + void set_default_dcp_audio_channels (int c) { + maybe_set (_default_dcp_audio_channels, c); + } + void set_dcp_issuer (std::string i) { maybe_set (_dcp_issuer, i); } @@ -529,6 +537,7 @@ private: int _default_still_length; Ratio const * _default_container; DCPContentType const * _default_dcp_content_type; + int _default_dcp_audio_channels; std::string _dcp_issuer; std::string _dcp_creator; int _default_j2k_bandwidth; |
