From 27526b4ab45f7684bf695d5763620692381f6970 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Jan 2025 14:40:16 +0100 Subject: Fix missing language tag in open captions. --- test/open_caption_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 } ); -- cgit v1.2.3