summaryrefslogtreecommitdiff
path: root/src/lib/create_cli.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-11 00:54:13 +0200
committerCarl Hetherington <cth@carlh.net>2023-04-11 20:31:45 +0200
commite1aac965a70ad8f50716325ef31a1829161dc6d3 (patch)
tree479f6b6a873aef239fa2cd2924839e973dbedd2a /src/lib/create_cli.h
parent87354b0a1d1f9ad48202f13e3bc2c6c3937b8a81 (diff)
Give an error if a non-number is passed to dcpomatic2_create -s (#2488).
Diffstat (limited to 'src/lib/create_cli.h')
-rw-r--r--src/lib/create_cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/create_cli.h b/src/lib/create_cli.h
index e473be1f2..58f7cf20c 100644
--- a/src/lib/create_cli.h
+++ b/src/lib/create_cli.h
@@ -52,7 +52,7 @@ public:
DCPContentType const * dcp_content_type;
boost::optional<int> dcp_frame_rate;
Ratio const * container_ratio;
- int still_length;
+ boost::optional<int> still_length;
dcp::Standard standard;
bool no_use_isdcf_name;
boost::optional<boost::filesystem::path> config_dir;