diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-19 23:57:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-20 12:19:03 +0100 |
| commit | f7334e538f39aadf3bab42244c26124a995234f7 (patch) | |
| tree | 15e65c7344db9d165d1021e9a7f021985b2c5e60 /src/verify.cc | |
| parent | c46f6125c482f2a3361cd33d1e1163927f038e9d (diff) | |
Allow use of KDMs when verifying DCPs.
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 9a1c0dcc..960f0438 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1807,6 +1807,7 @@ verify_assetmap( vector<VerificationNote> dcp::verify ( vector<boost::filesystem::path> directories, + vector<dcp::DecryptedKDM> kdms, function<void (string, optional<boost::filesystem::path>)> stage, function<void (float)> progress, VerificationOptions options, @@ -1854,6 +1855,10 @@ dcp::verify ( notes.push_back ({VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_STANDARD}); } + for (auto kdm: kdms) { + dcp->add(kdm); + } + for (auto cpl: dcp->cpls()) { verify_cpl( dcp, |
