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 10:28:12 +0100
commit42ebd462686e403711bed5fa4be23a498795754b (patch)
tree483714ed21a4312c7d68659be9fe71fa17bf09bf /test/subtitle_position_test.cc
parent27513a18c7bb63a9142d40b866a026d1bcc17134 (diff)
Inspect all DCPs made during tests with ClairMeta.76-dcp-inspect
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 (