From e8d05ab1c7c8ea1cc9d653540bf3cf2acb2c9669 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 24 Jun 2023 00:54:28 +0200 Subject: Add config option to allow long ISDCF name parts. --- src/lib/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lib/config.h') 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 Changed; /** Emitted if read() failed on an existing Config file. There is nothing @@ -1432,6 +1441,7 @@ private: boost::optional _main_content_divider_sash_position; DefaultAddFileLocation _default_add_file_location; bool _allow_smpte_bv20; + int _isdcf_name_part_length; ExportConfig _export; -- cgit v1.2.3