Missing note type when filtering out missing asset errors.
authorCarl Hetherington <cth@carlh.net>
Thu, 3 Sep 2020 10:09:53 +0000 (12:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 20 Sep 2020 17:32:42 +0000 (19:32 +0200)
tools/common.cc

index 91dba995874eee28f7b4e07552b84d5322b3fa17..0238a8cc09469182acc896e0a027f9fb6308183a 100644 (file)
@@ -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);
                }