summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-09 21:56:07 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-29 10:35:55 +0200
commit099599250ecd4fbceaeee2041fff10540be7533d (patch)
tree262f32f1b85c33ece9b81e5675c97ae71bfc6f1b /src/lib
parentca969a5faa17913d1da04e57f56c29d20340ce2c (diff)
Remove default DCP content type setting.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/config.cc6
-rw-r--r--src/lib/config.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 1269206ee..58c4afe10 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -770,12 +770,6 @@ Config::write_config () const
/* [XML:opt] Language Language to use in the GUI e.g. <code>fr_FR</code>. */
cxml::add_text_child(root, "Language", _language.get());
}
- if (_default_dcp_content_type) {
- /* [XML:opt] DefaultDCPContentType Default content type to use when creating new films (<code>FTR</code>, <code>SHR</code>,
- <code>TLR</code>, <code>TST</code>, <code>XSN</code>, <code>RTG</code>, <code>TSR</code>, <code>POL</code>,
- <code>PSA</code> or <code>ADV</code>). */
- cxml::add_text_child(root, "DefaultDCPContentType", _default_dcp_content_type->isdcf_name());
- }
/* [XML] DefaultDCPAudioChannels Default number of audio channels to use when creating new films. */
cxml::add_text_child(root, "DefaultDCPAudioChannels", raw_convert<string>(_default_dcp_audio_channels));
/* [XML] DCPIssuer Issuer text to write into CPL files. */
diff --git a/src/lib/config.h b/src/lib/config.h
index b8dab9a44..ab44e414a 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -770,10 +770,6 @@ public:
maybe_set (_default_still_length, s);
}
- void set_default_dcp_content_type (DCPContentType const * t) {
- maybe_set (_default_dcp_content_type, t);
- }
-
void set_default_dcp_audio_channels (int c) {
maybe_set (_default_dcp_audio_channels, c);
}