From 7abe0aaa61fb98faf97c595ffaae86f3794217c6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Mar 2025 09:31:04 +0100 Subject: Adjust filter_notes to also handle the ignore_bv21_smpte flag. This fixes a problem where the Bv21 SMPTE warning appears in HTML reports. --- tools/dcpdiff.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/dcpdiff.cc') 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 notes; dcp->read (¬es); - 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"; } -- cgit v1.2.3