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/dcpdiff.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/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 3 |
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 (¬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"; } |
