diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-18 16:39:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-18 16:39:51 +0100 |
| commit | 99856300c7080f7602507ae6f64b870200710736 (patch) | |
| tree | 38e1dbd2268486af4652d0a8bc7831c15a5c24d9 /src/lib/config.h | |
| parent | 27708051af4a8a767e7ead415d680ecaf929ec13 (diff) | |
Make DCP creator configurable.
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 70971085a..40b655342 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -155,6 +155,10 @@ public: return _dcp_issuer; } + std::string dcp_creator () const { + return _dcp_creator; + } + int default_j2k_bandwidth () const { return _default_j2k_bandwidth; } @@ -326,6 +330,10 @@ public: maybe_set (_dcp_issuer, i); } + void set_dcp_creator (std::string c) { + maybe_set (_dcp_creator, c); + } + void set_default_j2k_bandwidth (int b) { maybe_set (_default_j2k_bandwidth, b); } @@ -469,6 +477,7 @@ private: Ratio const * _default_container; DCPContentType const * _default_dcp_content_type; std::string _dcp_issuer; + std::string _dcp_creator; int _default_j2k_bandwidth; int _default_audio_delay; std::list<boost::shared_ptr<Cinema> > _cinemas; |
