From: Carl Hetherington Date: Tue, 10 Oct 2023 18:35:16 +0000 (+0200) Subject: Another compilation error fix for old toolchains. X-Git-Tag: v2.16.66~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=12bd8672230dc9d22b9ef14d3803cf13df2deac8 Another compilation error fix for old toolchains. --- diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index fb52f16b1..58aa1b01b 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -201,7 +201,8 @@ CreateCLI::CreateCLI (int argc, char* argv[]) argument_option(i, argc, argv, "-f", "--dcp-frame-rate", &claimed, &error, &dcp_frame_rate_int); argument_option(i, argc, argv, "", "--container-ratio", &claimed, &error, &container_ratio_string); argument_option(i, argc, argv, "-s", "--still-length", &claimed, &error, &still_length, string_to_nonzero_int); - argument_option(i, argc, argv, "", "--standard", &claimed, &error, &standard_string); + /* See comment below about --cpl */ + argument_option(i, argc, argv, "", "--standard", &claimed, &error, &standard_string, string_to_string); argument_option(i, argc, argv, "", "--config", &claimed, &error, &config_dir, string_to_path); argument_option(i, argc, argv, "-o", "--output", &claimed, &error, &output_dir, string_to_path); argument_option(i, argc, argv, "", "--j2k-bandwidth", &claimed, &error, &j2k_bandwidth_int);