summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-24 00:54:28 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-24 00:54:28 +0200
commite8d05ab1c7c8ea1cc9d653540bf3cf2acb2c9669 (patch)
tree21c1c28808717a1b817ef2594b5114faa41e07e3 /src/lib/config.h
parentc9c1b5e7edce7f7fd531b448323c3b2b2f5c7e65 (diff)
Add config option to allow long ISDCF name parts.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 91d779b7a..0a332bcbb 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -94,6 +94,7 @@ public:
AUDIO_MAPPING,
AUTO_CROP_THRESHOLD,
ALLOW_SMPTE_BV20,
+ ISDCF_NAME_PART_LENGTH,
OTHER
};
@@ -617,6 +618,10 @@ public:
return _allow_smpte_bv20;
}
+ int isdcf_name_part_length() const {
+ return _isdcf_name_part_length;
+ }
+
/* SET (mostly) */
void set_master_encoding_threads (int n) {
@@ -1194,6 +1199,10 @@ public:
maybe_set(_allow_smpte_bv20, allow, ALLOW_SMPTE_BV20);
}
+ void set_isdcf_name_part_length(int length) {
+ maybe_set(_isdcf_name_part_length, length, ISDCF_NAME_PART_LENGTH);
+ }
+
void changed (Property p = OTHER);
boost::signals2::signal<void (Property)> Changed;
/** Emitted if read() failed on an existing Config file. There is nothing
@@ -1432,6 +1441,7 @@ private:
boost::optional<int> _main_content_divider_sash_position;
DefaultAddFileLocation _default_add_file_location;
bool _allow_smpte_bv20;
+ int _isdcf_name_part_length;
ExportConfig _export;