projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt for libdcp use of enum class.
[dcpomatic.git]
/
src
/
lib
/
create_cli.cc
diff --git
a/src/lib/create_cli.cc
b/src/lib/create_cli.cc
index aec12e59edbc6d0668082796a824a8aa93766f5e..de26a7412355919b1f97c6085f3a44b51f8e2a74 100644
(file)
--- a/
src/lib/create_cli.cc
+++ b/
src/lib/create_cli.cc
@@
-79,7
+79,7
@@
CreateCLI::CreateCLI (int argc, char* argv[])
, dcp_content_type (0)
, container_ratio (0)
, still_length (10)
, dcp_content_type (0)
, container_ratio (0)
, still_length (10)
- , standard (dcp::SMPTE)
+ , standard (dcp::S
tandard::S
MPTE)
, no_use_isdcf_name (false)
, fourk (false)
{
, no_use_isdcf_name (false)
, fourk (false)
{
@@
-191,6
+191,10
@@
CreateCLI::CreateCLI (int argc, char* argv[])
return;
}
return;
}
+ if (standard_string == "interop") {
+ standard = dcp::Standard::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;