summaryrefslogtreecommitdiff
path: root/test/open_caption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-14 14:40:16 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-15 20:11:35 +0100
commit27526b4ab45f7684bf695d5763620692381f6970 (patch)
tree74ec8db512f8afbfe45e187f8ebb242ea0ecd1f5 /test/open_caption_test.cc
parent450da5182c3e224af87f269c3216ac13ae39ec1f (diff)
Fix missing language tag in open captions.v2.18.5
Diffstat (limited to 'test/open_caption_test.cc')
-rw-r--r--test/open_caption_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/open_caption_test.cc b/test/open_caption_test.cc
index 06b08c151..d1f173062 100644
--- a/test/open_caption_test.cc
+++ b/test/open_caption_test.cc
@@ -32,13 +32,13 @@ BOOST_AUTO_TEST_CASE(basic_open_caption_test)
auto film = new_test_film("basic_open_caption_test", { content });
content->text[0]->set_type(TextType::OPEN_CAPTION);
+ content->text[0]->set_language(dcp::LanguageTag("de"));
make_and_verify_dcp(
film,
{
dcp::VerificationNote::Code::MISSING_CPL_METADATA,
- dcp::VerificationNote::Code::INVALID_SUBTITLE_FIRST_TEXT_TIME,
- dcp::VerificationNote::Code::MISSING_SUBTITLE_LANGUAGE
+ dcp::VerificationNote::Code::INVALID_SUBTITLE_FIRST_TEXT_TIME
}
);