summaryrefslogtreecommitdiff
path: root/src/lib/create_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-21 19:49:31 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 19:49:31 +0200
commit2f47fb05b044f6f9d9ce1882a8f20d7785e13663 (patch)
treea083711ef355da0fd4c8a2f16beac73ed5f1e6e4 /src/lib/create_cli.cc
parente9dbf1d5475d288994906757623464799a815466 (diff)
Fix --standard flag to dcpomatic2_cli (github #9).
Forward-ported-from-commit: c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 Forward-ported-from-branch: master
Diffstat (limited to 'src/lib/create_cli.cc')
-rw-r--r--src/lib/create_cli.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc
index aec12e59e..7acd5756f 100644
--- a/src/lib/create_cli.cc
+++ b/src/lib/create_cli.cc
@@ -191,6 +191,10 @@ CreateCLI::CreateCLI (int argc, char* argv[])
return;
}
+ if (standard_string == "interop") {
+ standard = dcp::INTEROP;
+ }
+
if (content.empty()) {
error = String::compose("%1: no content specified", argv[0]);
return;