Allow specification of the CPL ID to use in a DCP with _create (#2302).
[dcpomatic.git] / src / lib / create_cli.h
index 97e0910567686bb8251d6abcb30f3442f18d2bb1..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;
@@ -52,6 +59,7 @@ public:
        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;