projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88a917
)
Missing note type when filtering out missing asset errors.
author
Carl Hetherington
<cth@carlh.net>
Thu, 3 Sep 2020 10:09:53 +0000
(12:09 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 20 Sep 2020 17:32:42 +0000
(19:32 +0200)
tools/common.cc
patch
|
blob
|
history
diff --git
a/tools/common.cc
b/tools/common.cc
index 91dba995874eee28f7b4e07552b84d5322b3fa17..0238a8cc09469182acc896e0a027f9fb6308183a 100644
(file)
--- a/
tools/common.cc
+++ b/
tools/common.cc
@@
-46,7
+46,7
@@
dcp::filter_notes (list<dcp::VerificationNote>& notes, bool ignore_missing_asset
list<dcp::VerificationNote>::iterator tmp = i;
++tmp;
- if (ignore_missing_assets &&
i->code() == dcp::VerificationNote::MISSING_ASSET
) {
+ if (ignore_missing_assets &&
(i->code() == dcp::VerificationNote::MISSING_ASSET || i->code() == dcp::VerificationNote::EXTERNAL_ASSET)
) {
notes.erase (i);
}