summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 094567da..22e07b7c 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -748,7 +748,7 @@ void
verify_interop_text_asset(Context& context, shared_ptr<const InteropTextAsset> asset)
{
if (asset->texts().empty()) {
- context.add_note(VerificationNote::Code::MISSING_SUBTITLE, asset->id(), asset->file().get());
+ context.add_note(VerificationNote(VerificationNote::Code::MISSING_SUBTITLE, asset->file().get()).set_asset_id(asset->id()));
}
auto const unresolved = asset->unresolved_fonts();
if (!unresolved.empty()) {
@@ -2183,7 +2183,7 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
case VerificationNote::Code::DUPLICATE_ASSET_ID_IN_ASSETMAP:
return compose("The ASSETMAP %1 has more than one asset with the same ID.", *note.asset_map_id());
case VerificationNote::Code::MISSING_SUBTITLE:
- return compose("The subtitle asset %1 has no subtitles.", note.note().get());
+ return compose("The subtitle asset %1 has no subtitles.", *note.asset_id());
case VerificationNote::Code::INVALID_SUBTITLE_ISSUE_DATE:
return compose("<IssueDate> has an invalid value: %1", note.note().get());
case VerificationNote::Code::MISMATCHED_SOUND_CHANNEL_COUNTS:
diff --git a/src/verify.h b/src/verify.h
index 2fb6b0ef..d4d066c6 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -520,7 +520,7 @@ public:
*/
DUPLICATE_ASSET_ID_IN_ASSETMAP,
/** An Interop subtitle asset has no subtitles
- * note contains the asset ID
+ * asset_id contains the asset ID
* file contains the asset filename
* reel_index contains the reel index (starting from 0)
*/