summaryrefslogtreecommitdiff
path: root/src
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
parent2835cd88ff5ddd9dc5ad4bf7e5eaefe7cc4b6a99 (diff)
MISSING_HASH: note -> asset_id.
Diffstat (limited to 'src')
-rw-r--r--src/verify.cc4
-rw-r--r--src/verify.h2
2 files changed, 3 insertions, 3 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:
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,
/** _<Hash>_ 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,