From fda76ce499bd7db31301383726fd4772fd08ca72 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Mar 2026 20:51:11 +0200 Subject: MISSING_HASH: note -> asset_id. --- src/verify.cc | 4 ++-- src/verify.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/verify.cc b/src/verify.cc index 2d3031d5..6b86958d 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1425,7 +1425,7 @@ verify_reel( context.add_note(VerificationNote(VerificationNote::Code::INVALID_INTRINSIC_DURATION).set_asset_id(i->id())); } if (i->encryptable() && !i->hash()) { - context.add_note(VerificationNote::Code::MISSING_HASH, i->id()); + context.add_note(VerificationNote(VerificationNote::Code::MISSING_HASH).set_asset_id(i->id())); } } @@ -2082,7 +2082,7 @@ dcp::note_to_string(VerificationNote note, function process_str case VerificationNote::Code::INCORRECT_CLOSED_CAPTION_ENTRY_POINT: return compose("The closed caption asset %1 has an other than 0.", *note.asset_id()); case VerificationNote::Code::MISSING_HASH: - return compose("The asset %1 has no tag in the CPL.", note.note().get()); + return compose("The asset %1 has no tag in the CPL.", *note.asset_id()); case VerificationNote::Code::MISSING_FFEC_IN_FEATURE: return process_string("The DCP is marked as a Feature but there is no FFEC (first frame of end credits) marker."); case VerificationNote::Code::MISSING_FFMC_IN_FEATURE: diff --git a/src/verify.h b/src/verify.h index ba726349..8a6bcfe9 100644 --- a/src/verify.h +++ b/src/verify.h @@ -336,7 +336,7 @@ public: */ INCORRECT_CLOSED_CAPTION_ENTRY_POINT, /** __ must be present for assets in CPLs - * note contains the asset ID + * asset_id contains the asset ID * reel_index contains the reel index (starting from 0) */ MISSING_HASH, -- cgit v1.2.3