projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix --standard flag to dcpomatic2_cli (github #9).
[dcpomatic.git]
/
src
/
lib
/
create_cli.cc
diff --git
a/src/lib/create_cli.cc
b/src/lib/create_cli.cc
index b670282b4717a0bfcbc3988b391a55cd1f5d1bcb..7acd5756f7b88d3a071262a1dc7d6f01884304c0 100644
(file)
--- a/
src/lib/create_cli.cc
+++ b/
src/lib/create_cli.cc
@@
-81,7
+81,6
@@
CreateCLI::CreateCLI (int argc, char* argv[])
, still_length (10)
, standard (dcp::SMPTE)
, no_use_isdcf_name (false)
, still_length (10)
, standard (dcp::SMPTE)
, no_use_isdcf_name (false)
- , no_sign (false)
, fourk (false)
{
string dcp_content_type_string = "TST";
, fourk (false)
{
string dcp_content_type_string = "TST";
@@
-113,8
+112,6
@@
CreateCLI::CreateCLI (int argc, char* argv[])
encrypt = claimed = true;
} else if (a == "--no-use-isdcf-name") {
no_use_isdcf_name = claimed = true;
encrypt = claimed = true;
} else if (a == "--no-use-isdcf-name") {
no_use_isdcf_name = claimed = true;
- } else if (a == "--no-sign") {
- no_sign = claimed = true;
} else if (a == "--threed") {
threed = claimed = true;
} else if (a == "--left-eye") {
} else if (a == "--threed") {
threed = claimed = true;
} else if (a == "--left-eye") {
@@
-194,6
+191,10
@@
CreateCLI::CreateCLI (int argc, char* argv[])
return;
}
return;
}
+ if (standard_string == "interop") {
+ standard = dcp::INTEROP;
+ }
+
if (content.empty()) {
error = String::compose("%1: no content specified", argv[0]);
return;
if (content.empty()) {
error = String::compose("%1: no content specified", argv[0]);
return;