diff options
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 8c367563..d8a4f37f 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1122,8 +1122,12 @@ dcp::verify ( for (auto dcp: dcps) { stage ("Checking DCP", dcp->directory()); + bool carry_on = true; try { dcp->read (¬es); + } catch (MissingAssetmapError& e) { + notes.push_back ({VerificationNote::Type::ERROR, VerificationNote::Code::FAILED_READ, string(e.what())}); + carry_on = false; } catch (ReadError& e) { notes.push_back ({VerificationNote::Type::ERROR, VerificationNote::Code::FAILED_READ, string(e.what())}); } catch (XMLError& e) { @@ -1134,6 +1138,10 @@ dcp::verify ( notes.push_back ({VerificationNote::Type::ERROR, VerificationNote::Code::FAILED_READ, string(e.what())}); } + if (!carry_on) { + continue; + } + if (dcp->standard() != Standard::SMPTE) { notes.push_back ({VerificationNote::Type::BV21_ERROR, VerificationNote::Code::INVALID_STANDARD}); } |
