summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-02 22:21:52 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-05 00:48:55 +0200
commit742961d2c2cd446fcd96033403b35b0ae111401e (patch)
treebb7ae53ffd16d6df90bc2987189a749c97d92d84 /src/wx
parentcc39c4f57fc48c581a25dc4c37f26adf95278914 (diff)
Give filler subtitle reels <LoadFont> nodes in SMPTE (#2547).
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/verify_dcp_dialog.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc
index b3e229087..2f8dabc09 100644
--- a/src/wx/verify_dcp_dialog.cc
+++ b/src/wx/verify_dcp_dialog.cc
@@ -422,9 +422,12 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job
case dcp::VerificationNote::Code::INCORRECT_SUBTITLE_NAMESPACE_COUNT:
add(i, _("The XML in the subtitle asset %n has more than one namespace declaration."));
break;
- case dcp::VerificationNote::Code::MISSING_LOAD_FONT:
+ case dcp::VerificationNote::Code::MISSING_LOAD_FONT_FOR_FONT:
add(i, _("A subtitle or closed caption refers to a font with ID %id that does not have a corresponding <LoadFont> node."));
break;
+ case dcp::VerificationNote::Code::MISSING_LOAD_FONT:
+ add(i, "The SMPTE subtitle asset %id has <Text> nodes but no <LoadFont> node");
+ break;
}
}