summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
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 d8ff70db8..e774712d6 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -116,6 +116,7 @@ public:
AUDIO_MAPPING,
AUTO_CROP_THRESHOLD,
ALLOW_SMPTE_BV20,
+ CHECK_DISK_WRITES,
ISDCF_NAME_PART_LENGTH,
ALLOW_ANY_CONTAINER,
#ifdef DCPOMATIC_GROK
@@ -656,6 +657,10 @@ public:
return _allow_smpte_bv20;
}
+ bool check_disk_writes() const {
+ return _check_disk_writes;
+ }
+
#ifdef DCPOMATIC_GROK
class Grok
{
@@ -1249,6 +1254,10 @@ public:
maybe_set(_allow_smpte_bv20, allow, ALLOW_SMPTE_BV20);
}
+ void set_check_disk_writes(bool check) {
+ maybe_set(_check_disk_writes, check, CHECK_DISK_WRITES);
+ }
+
#ifdef DCPOMATIC_GROK
void set_grok(Grok const& grok);
#endif
@@ -1517,6 +1526,7 @@ private:
boost::optional<int> _main_content_divider_sash_position;
DefaultAddFileLocation _default_add_file_location;
bool _allow_smpte_bv20;
+ bool _check_disk_writes;
int _isdcf_name_part_length;
bool _enable_player_http_server;
int _player_http_server_port;