summaryrefslogtreecommitdiff
path: root/tools/dcpdiff.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-25 09:31:04 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-25 09:31:04 +0100
commit7abe0aaa61fb98faf97c595ffaae86f3794217c6 (patch)
tree0ddca26ea47b1acd5c8f5a53dca8fe4d16a93ee7 /tools/dcpdiff.cc
parent8edb46702b372b6e672d0ac8f810e151e1aa5707 (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/dcpdiff.cc')
-rw-r--r--tools/dcpdiff.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc
index bce87393..b170e9d0 100644
--- a/tools/dcpdiff.cc
+++ b/tools/dcpdiff.cc
@@ -102,8 +102,7 @@ load_dcp (boost::filesystem::path path, bool ignore_missing_assets, optional<str
dcp = new DCP (path);
vector<dcp::VerificationNote> notes;
dcp->read (&notes);
- filter_notes (notes, ignore_missing_assets);
- for (auto i: notes) {
+ for (auto i: dcp::filter_notes(notes, ignore_missing_assets, false)) {
cerr << dcp::note_to_string(i) << "\n";
}