From c6475f24a7b21fe2291ebc809431ecc2654d3355 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 12 May 2020 16:54:54 +0200 Subject: Fix test failures with new verification note in libdcp. --- src/lib/dcp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/dcp.cc b/src/lib/dcp.cc index c62b339fa..477b61e9f 100644 --- a/src/lib/dcp.cc +++ b/src/lib/dcp.cc @@ -75,9 +75,9 @@ DCP::cpls () const list notes; dcp->read (¬es, true); if (!_tolerant) { - /** We accept and ignore EmptyAssetPathError but everything else is bad */ + /** We accept and ignore EMPTY_ASSET_PATH and EXTERNAL_ASSET but everything else is bad */ BOOST_FOREACH (dcp::VerificationNote j, notes) { - if (j.code() == dcp::VerificationNote::EMPTY_ASSET_PATH) { + if (j.code() == dcp::VerificationNote::EMPTY_ASSET_PATH || j.code() == dcp::VerificationNote::EXTERNAL_ASSET) { LOG_WARNING("Empty path in ASSETMAP of %1", i.string()); } else { boost::throw_exception(dcp::ReadError(dcp::note_to_string(j))); -- cgit v1.2.3