diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-16 20:50:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-16 21:00:36 +0100 |
| commit | 09f8b57ac237c98eae648fc31093cf22495db740 (patch) | |
| tree | 9b62300492c07f6081f7fff667e1fcbe14a0fd7d /src/lib/create_cli.cc | |
| parent | b2d7764f628926763e648924b267855c59ab4349 (diff) | |
Add --twok option to dcpomatic2_create.
Diffstat (limited to 'src/lib/create_cli.cc')
| -rw-r--r-- | src/lib/create_cli.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index 9453cc167..26f3dbcae 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -49,7 +49,8 @@ string CreateCLI::_help = " --no-use-isdcf-name do not use an ISDCF name; use the specified name unmodified\n" " --no-sign do not sign the DCP\n" " --config <dir> directory containing config.xml and cinemas.xml\n" - " --fourk make a 4K DCP rather than a 2K one\n" + " --twok make a 2K DCP instead of choosing a resolution based on the content\n" + " --fourk make a 4K DCP instead of choosing a resolution based on the content\n" " -o, --output <dir> output directory\n" " --threed make a 3D DCP\n" " --j2k-bandwidth <Mbit/s> J2K bandwidth in Mbit/s\n" @@ -124,6 +125,7 @@ CreateCLI::CreateCLI (int argc, char* argv[]) , still_length (10) , standard (dcp::Standard::SMPTE) , no_use_isdcf_name (false) + , twok (false) , fourk (false) { string dcp_content_type_string = "TST"; @@ -163,6 +165,9 @@ CreateCLI::CreateCLI (int argc, char* argv[]) } else if (a == "--right-eye") { next_frame_type = VideoFrameType::THREE_D_RIGHT; claimed = true; + } else if (a == "--twok") { + twok = true; + claimed = true; } else if (a == "--fourk") { fourk = true; claimed = true; |
