diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-26 22:51:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-26 22:51:54 +0000 |
| commit | b1873c51b2e8265a01a8f0eced7fc3465f1677dc (patch) | |
| tree | d0eb1d779f6f9e145e57693162af06a2390e84fb /src/lib/config.h | |
| parent | 494b6ee180e531358bab39e72f6123e90f9314e5 (diff) | |
| parent | d641aee73077e93ca17b30acd5b9ed82f1e14cb9 (diff) | |
Merge master into direct-mxf.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index c41437efb..fed297ad0 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -27,6 +27,7 @@ #include <vector> #include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> +#include "dci_metadata.h" class ServerDescription; class Scaler; @@ -98,6 +99,10 @@ public: return _allowed_dcp_frame_rates; } + DCIMetadata default_dci_metadata () const { + return _default_dci_metadata; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { _num_local_encoding_threads = n; @@ -149,6 +154,10 @@ public: _allowed_dcp_frame_rates = r; } + void set_default_dci_metadata (DCIMetadata d) { + _default_dci_metadata = d; + } + void write () const; static Config* instance (); @@ -181,6 +190,8 @@ private: /** Our sound processor */ SoundProcessor const * _sound_processor; std::list<int> _allowed_dcp_frame_rates; + /** Default DCI metadata for newly-created Films */ + DCIMetadata _default_dci_metadata; /** Singleton instance, or 0 */ static Config* _instance; |
