From 5bb7cf0132f37e2eea67c72f61d1f2b23b440596 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Apr 2019 10:05:13 +0100 Subject: Add --fourk to dcpomatic_create. --- src/lib/create_cli.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/create_cli.cc') diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index 94e984fcf..e1c5f1233 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -47,6 +47,7 @@ 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 directory containing config.xml and cinemas.xml\n" + " --fourk make a 4K DCP rather than a 2K one\n" " -o, --output output directory\n" " --threed make a 3D DCP\n" " --left-eye next piece of content is for the left eye\n" @@ -82,6 +83,7 @@ CreateCLI::CreateCLI (int argc, char* argv[]) , standard (dcp::SMPTE) , no_use_isdcf_name (false) , no_sign (false) + , fourk (false) { string dcp_content_type_string = "TST"; string content_ratio_string; @@ -122,6 +124,9 @@ CreateCLI::CreateCLI (int argc, char* argv[]) } else if (a == "--right-eye") { next_frame_type = VIDEO_FRAME_TYPE_3D_RIGHT; claimed = true; + } else if (a == "--fourk") { + fourk = true; + claimed = true; } argument_option(i, argc, argv, "-n", "--name", &claimed, &error, &name); -- cgit v1.2.3