summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-23 23:42:58 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-23 23:42:58 +0200
commit152266f6e65451a03521eb04b6a406b6e309e17a (patch)
tree0ebf358010ba72fdec87e8c64bdceea5a05b2925 /src/pkl.h
parentadae04e0984d294aa9a95394bfed584ce7e93469 (diff)
Allow but give an error when seeing a strange PKL namespace.v1.8.110
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.
Diffstat (limited to 'src/pkl.h')
-rw-r--r--src/pkl.h5
1 files changed, 4 insertions, 1 deletions
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<dcp::VerificationNote>* notes = nullptr);
boost::optional<std::string> hash (std::string id) const;
boost::optional<std::string> type (std::string id) const;