summaryrefslogtreecommitdiff
path: root/src/lib/create_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-10 19:32:37 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-10 19:32:37 +0200
commitf12c261d58d78b9da1ef1a4757a93b63a309002a (patch)
tree14a66c2c5125cc9c8d3c04ed3967299baf9e6939 /src/lib/create_cli.cc
parentce47388adf9d02a4070e7cbf6672097c2e424422 (diff)
Apply another fix for a weird compilation error on old compilers.
Diffstat (limited to 'src/lib/create_cli.cc')
-rw-r--r--src/lib/create_cli.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc
index ed62abefb..3a0c33617 100644
--- a/src/lib/create_cli.cc
+++ b/src/lib/create_cli.cc
@@ -196,7 +196,8 @@ CreateCLI::CreateCLI (int argc, char* argv[])
argument_option(i, argc, argv, "-n", "--name", &claimed, &error, &_name);
argument_option(i, argc, argv, "-t", "--template", &claimed, &error, &template_name_string);
- argument_option(i, argc, argv, "-c", "--dcp-content-type", &claimed, &error, &dcp_content_type_string);
+ /* See comment below about --cpl */
+ argument_option(i, argc, argv, "-c", "--dcp-content-type", &claimed, &error, &dcp_content_type_string, string_to_string);
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);