summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-09 14:13:39 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-09 14:14:31 +0200
commitc1229ba3e750fa0c877ef8444da82e8ea4a9638f (patch)
tree8d0d7727639dd2d1bbcbe840e27f31c7f4365fb5 /src/dcp.h
parent3005571cd08c3bdd233fd073b6ae956b9d98b570 (diff)
Make CPL metadata writing optional.optional-cpl-metadata
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 35e2edf8..6a8eef15 100644
--- 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);