diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-25 09:31:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-25 09:31:04 +0100 |
| commit | 7abe0aaa61fb98faf97c595ffaae86f3794217c6 (patch) | |
| tree | 0ddca26ea47b1acd5c8f5a53dca8fe4d16a93ee7 /tools/dcpverify.cc | |
| parent | 8edb46702b372b6e672d0ac8f810e151e1aa5707 (diff) | |
Adjust filter_notes to also handle the ignore_bv21_smpte flag.
This fixes a problem where the Bv21 SMPTE warning appears in HTML
reports.
Diffstat (limited to 'tools/dcpverify.cc')
| -rw-r--r-- | tools/dcpverify.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/dcpverify.cc b/tools/dcpverify.cc index 232b8ea4..59727895 100644 --- a/tools/dcpverify.cc +++ b/tools/dcpverify.cc @@ -185,7 +185,7 @@ main (int argc, char* argv[]) vector<boost::filesystem::path> directories; directories.push_back (argv[optind]); auto result = dcp::verify(directories, {}, stage, progress, verification_options); - dcp::filter_notes(result.notes, ignore_missing_assets); + result.notes = dcp::filter_notes(result.notes, ignore_missing_assets, ignore_bv21_smpte); if (!quiet) { cout << "\n"; @@ -195,9 +195,6 @@ main (int argc, char* argv[]) bool bv21_failed = false; bool warned = false; for (auto i: result.notes) { - if (ignore_bv21_smpte && i.code() == dcp::VerificationNote::Code::INVALID_STANDARD) { - continue; - } switch (i.type()) { case dcp::VerificationNote::Type::OK: break; |
