From 152266f6e65451a03521eb04b6a406b6e309e17a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Sep 2024 23:42:58 +0200 Subject: Allow but give an error when seeing a strange PKL namespace. DoM bug #2868 reports that Resolve made a DCP with the PKL namespace http://www.smpte-ra.org/schemas/2067-2/2016/PKL This seems wrong (google suggests that this is the namespace for IMF PKLs) but let's accept it and log an error instead of throwing an exception. --- src/pkl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/pkl.h') diff --git a/src/pkl.h b/src/pkl.h index d0a11188..e514095b 100644 --- a/src/pkl.h +++ b/src/pkl.h @@ -52,6 +52,9 @@ namespace dcp { +class VerificationNote; + + class PKL : public Object, public AssetList { public: @@ -59,7 +62,7 @@ public: : AssetList(standard, annotation_text, issue_date, issuer, creator) {} - explicit PKL (boost::filesystem::path file); + explicit PKL(boost::filesystem::path file, std::vector* notes = nullptr); boost::optional hash (std::string id) const; boost::optional type (std::string id) const; -- cgit v1.2.3