diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-27 00:03:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-09 17:04:02 +0100 |
| commit | 450602739388811a6378314d6c309b99f7b28b60 (patch) | |
| tree | cdf2860abf7e2c447154fba0305178fdba70dbfe /src/lib/config.h | |
| parent | 701c510562bfa4fffcd21f94f0714405ca508a37 (diff) | |
Add option to use (or not) ISDCF names by default.
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 39704fde1..32f9c738f 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -548,6 +548,10 @@ public: return _add_files_path; } + bool use_isdcf_name_by_default () const { + return _use_isdcf_name_by_default; + } + /* SET (mostly) */ void set_master_encoding_threads (int n) { @@ -1052,6 +1056,10 @@ public: changed (); } + void set_use_isdcf_name_by_default (bool use) { + maybe_set (_use_isdcf_name_by_default, use); + } + void changed (Property p = OTHER); boost::signals2::signal<void (Property)> Changed; /** Emitted if read() failed on an existing Config file. There is nothing @@ -1267,6 +1275,7 @@ private: boost::optional<AudioMapping> _audio_mapping; std::vector<dcp::LanguageTag> _custom_languages; boost::optional<boost::filesystem::path> _add_files_path; + bool _use_isdcf_name_by_default; static int const _current_version; |
