Add some detail to a verification warning.
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Sep 2020 21:54:05 +0000 (23:54 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 9 Sep 2020 21:54:05 +0000 (23:54 +0200)
src/dcp.cc

index 2929b5d85bf81d45c2cdec4e92c10d6a60446e83..426bd81548370b87cb706f11d6d394e4fa2081dc 100644 (file)
@@ -263,7 +263,7 @@ DCP::read (list<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_mxf
                BOOST_FOREACH (shared_ptr<CPL> i, cpls()) {
                        BOOST_FOREACH (shared_ptr<const ReelMXF> j, i->reel_mxfs()) {
                                if (!j->asset_ref().resolved() && paths.find(j->asset_ref().id()) == paths.end()) {
-                                       notes->push_back (VerificationNote(VerificationNote::VERIFY_WARNING, VerificationNote::EXTERNAL_ASSET));
+                                       notes->push_back (VerificationNote(VerificationNote::VERIFY_WARNING, VerificationNote::EXTERNAL_ASSET, j->asset_ref().id()));
                                }
                        }
                }