summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-18 01:31:30 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-20 23:47:03 +0100
commit84a0d8a228f36f95ac265bac163c8e3f02dc1fd0 (patch)
treeed7a3bf3a9d0806ddb3a9ea6196230dfeaa1679e /test
parent7ec57dea9d77070244c411c354623cfb5bac09ca (diff)
Remove subtitle language from text content.
Diffstat (limited to 'test')
-rw-r--r--test/isdcf_name_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc
index b88afb0a0..29bcff6ed 100644
--- a/test/isdcf_name_test.cc
+++ b/test/isdcf_name_test.cc
@@ -69,9 +69,9 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
film->_isdcf_date = boost::gregorian::date (2014, boost::gregorian::Jul, 4);
film->set_audio_channels (1);
film->set_resolution (RESOLUTION_4K);
+ film->set_subtitle_language (dcp::LanguageTag("fr-FR"));
shared_ptr<Content> text = content_factory("test/data/subrip.srt").front();
BOOST_REQUIRE_EQUAL (text->text.size(), 1U);
- text->text.front()->set_language ("fr");
text->text.front()->set_burn (true);
film->examine_and_add_content (text);
BOOST_REQUIRE (!wait_for_jobs());