summaryrefslogtreecommitdiff
path: root/test/subtitle_position_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-12 15:29:12 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-15 12:44:53 +0100
commitde1b4a967e6854782e88e83d48af74289977c8c3 (patch)
tree97b75a9d24e8f047f17f05a919a80c806b6544f0 /test/subtitle_position_test.cc
parenta4a7d9ef34f2f083b0ba9e32e933ea5c64d2352d (diff)
Inspect most DCPs made during tests with ClairMeta (#76).
Diffstat (limited to 'test/subtitle_position_test.cc')
-rw-r--r--test/subtitle_position_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/subtitle_position_test.cc b/test/subtitle_position_test.cc
index 94a06b7f8..d9dd0c61a 100644
--- a/test/subtitle_position_test.cc
+++ b/test/subtitle_position_test.cc
@@ -42,6 +42,7 @@ BOOST_AUTO_TEST_CASE(srt_correctly_placed_in_interop)
string const name = "srt_in_interop_position_test";
auto fr = content_factory("test/data/short.srt");
auto film = new_test_film2(name, fr);
+ fr[0]->only_text()->set_language(dcp::LanguageTag("de"));
film->set_interop(true);
@@ -70,7 +71,7 @@ BOOST_AUTO_TEST_CASE(srt_correctly_placed_in_smpte)
auto fr = content_factory("test/data/short.srt");
auto film = new_test_film2(name, fr);
- fr[0]->text[0]->set_language(dcp::LanguageTag("en-GB"));
+ fr[0]->text[0]->set_language(dcp::LanguageTag("en"));
film->set_interop(false);
make_and_verify_dcp (