Fix test to not raise an error from clairmeta.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Apr 2025 19:47:16 +0000 (21:47 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 14 Apr 2025 16:42:09 +0000 (18:42 +0200)
test/subtitle_reel_test.cc

index b9c2541fd31a0c14268201d870837ffc61625f8e..a9fa2915d5aa42ce7c6f0b6e6f6aaaf3318bdef5 100644 (file)
@@ -243,7 +243,7 @@ BOOST_AUTO_TEST_CASE(bad_subtitle_not_created_at_reel_boundaries)
 
        auto film = new_test_film("bad_subtitle_not_created_at_reel_boundaries", { content });
        film->set_reel_type(ReelType::CUSTOM);
-       content->text[0]->set_language(dcp::LanguageTag("de-DE"));
+       content->text[0]->set_language(dcp::LanguageTag("de"));
        /* This is 1 frame after the start of the subtitle */
        film->set_custom_reel_boundaries({dcpomatic::DCPTime::from_frames(241, 24)});