Make CPL metadata writing optional.
[libdcp.git] / src / dcp.h
index 35e2edf889272378a125c65d49d7dcef513f9e2b..6a8eef15765f226c5ea0d253c2d21ac0496ae5e6 100644 (file)
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -157,7 +157,8 @@ public:
         */
        void write_xml (
                std::shared_ptr<const CertificateChain> signer = std::shared_ptr<const CertificateChain>(),
-               NameFormat name_format = NameFormat("%t")
+               NameFormat name_format = NameFormat("%t"),
+               bool write_cpl_metadata = true
        );
 
        void resolve_refs (std::vector<std::shared_ptr<Asset>> assets);