Allow specification of the CPL ID to use in a DCP with _create (#2302).
[dcpomatic.git] / src / lib / create_cli.h
index a9d9daa22e2e0bbdc3d6a6e92d68f4f41240b9f8..a5e0c394130e2bd476df1652243012c2e4d737f9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "types.h"
 #include <dcp/types.h>
 #include <boost/optional.hpp>
 #include <boost/filesystem.hpp>
 #include <vector>
 
+
 class DCPContentType;
 class Ratio;
 
+
 class CreateCLI
 {
 public:
@@ -35,6 +38,10 @@ public:
        struct Content {
                boost::filesystem::path path;
                VideoFrameType frame_type;
+               boost::optional<dcp::Channel> channel;
+               boost::optional<float> gain;
+               boost::optional<boost::filesystem::path> kdm;
+               boost::optional<std::string> cpl;
        };
 
        bool version;
@@ -45,15 +52,14 @@ public:
        DCPContentType const * dcp_content_type;
        boost::optional<int> dcp_frame_rate;
        Ratio const * container_ratio;
-       Ratio const * content_ratio;
        int still_length;
        dcp::Standard standard;
        bool no_use_isdcf_name;
-       bool no_sign;
        boost::optional<boost::filesystem::path> config_dir;
        boost::optional<boost::filesystem::path> output_dir;
        boost::optional<std::string> error;
        std::vector<Content> content;
+       bool twok;
        bool fourk;
        boost::optional<int> j2k_bandwidth;