summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-29 20:51:11 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commitfda76ce499bd7db31301383726fd4772fd08ca72 (patch)
treeacf963208e1124640f1df23e0351c22a316dc991 /src/verify.cc
parent2835cd88ff5ddd9dc5ad4bf7e5eaefe7cc4b6a99 (diff)
MISSING_HASH: note -> asset_id.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
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<string (string)> process_str
case VerificationNote::Code::INCORRECT_CLOSED_CAPTION_ENTRY_POINT:
return compose("The closed caption asset %1 has an <EntryPoint> other than 0.", *note.asset_id());
case VerificationNote::Code::MISSING_HASH:
- return compose("The asset %1 has no <Hash> tag in the CPL.", note.note().get());
+ return compose("The asset %1 has no <Hash> 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: