From d47514ac74ec18cd33481e54b459c4af542bbc19 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Mar 2026 13:41:58 +0200 Subject: EXTERNAL_ASSET: note -> asset_id. --- src/dcp.cc | 2 +- src/verify.cc | 2 +- src/verify.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/dcp.cc b/src/dcp.cc index d7245ed8..4d5be236 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -334,7 +334,7 @@ DCP::read (vector* notes, bool ignore_incorrect_picture_m for (auto i: cpls()) { for (auto j: i->reel_file_assets()) { if (!j->asset_ref().resolved() && ids_and_paths.find(j->asset_ref().id()) == ids_and_paths.end()) { - notes->push_back(VerificationNote(VerificationNote::Code::EXTERNAL_ASSET, j->asset_ref().id())); + notes->push_back(VerificationNote(VerificationNote::Code::EXTERNAL_ASSET).set_asset_id(j->asset_ref().id())); } } } diff --git a/src/verify.cc b/src/verify.cc index fcee2967..7d87ba1f 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2006,7 +2006,7 @@ dcp::note_to_string(VerificationNote note, function process_str filename() ); case VerificationNote::Code::EXTERNAL_ASSET: - return compose("The asset %1 that this DCP refers to is not included in the DCP. It may be a VF.", note.note().get()); + return compose("The asset %asset_id that this DCP refers to is not included in the DCP. It may be a VF.", *note.asset_id()); case VerificationNote::Code::THREED_ASSET_MARKED_AS_TWOD: return compose("The asset %1 is 3D but its MXF is marked as 2D.", filename()); case VerificationNote::Code::INVALID_STANDARD: diff --git a/src/verify.h b/src/verify.h index fa239302..0abf6c22 100644 --- a/src/verify.h +++ b/src/verify.h @@ -190,7 +190,7 @@ public: */ NEARLY_INVALID_PICTURE_FRAME_SIZE_IN_BYTES, /** An asset that the CPL requires is not in this DCP; the DCP may be a VF - * note contains the asset ID + * asset_id contains the asset ID */ EXTERNAL_ASSET, /** A stereoscopic asset has an MXF which is marked as being monoscopic -- cgit v1.2.3