Supporters update.
[dcpomatic.git] / test / map_cli_test.cc
index 5a774b6a44ccb26f046473e4953237b05df31584..ed2a7e5ec5aad4ede1d3dba538abe39646bab74c 100644 (file)
@@ -223,6 +223,7 @@ BOOST_AUTO_TEST_CASE(map_simple_interop_dcp_with_subs)
        auto subs = content_factory("test/data/15s.srt").front();
        auto film = new_test_film2(name + "_in", { picture, subs });
        film->set_interop(true);
+       subs->only_text()->set_language(dcp::LanguageTag("de"));
        make_and_verify_dcp(film, {dcp::VerificationNote::Code::INVALID_STANDARD});
 
        vector<string> const args = {
@@ -254,12 +255,11 @@ test_map_ov_vf_copy(vector<string> extra_args = {})
        make_and_verify_dcp(ov_film);
 
        auto const ov_dir = ov_film->dir(ov_film->dcp_name());
-
        auto vf_ov = make_shared<DCPContent>(ov_dir);
        auto vf_sound = content_factory("test/data/sine_440.wav").front();
        auto vf_film = new_test_film2(name + "_vf", { vf_ov, vf_sound });
        vf_ov->set_reference_video(true);
-       make_and_verify_dcp(vf_film, {dcp::VerificationNote::Code::EXTERNAL_ASSET});
+       make_and_verify_dcp(vf_film, {dcp::VerificationNote::Code::EXTERNAL_ASSET}, false);
 
        auto const vf_dir = vf_film->dir(vf_film->dcp_name());
 
@@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE(map_ov_vf_copy_multiple_reference)
        vf_ov2->set_position(vf_film, vf_ov1->end(vf_film));
        vf_ov1->set_reference_video(true);
        vf_ov2->set_reference_video(true);
-       make_and_verify_dcp(vf_film, {dcp::VerificationNote::Code::EXTERNAL_ASSET});
+       make_and_verify_dcp(vf_film, {dcp::VerificationNote::Code::EXTERNAL_ASSET}, false);
 
        auto const vf_dir = vf_film->dir(vf_film->dcp_name());
 
@@ -411,6 +411,7 @@ test_two_cpls_each_with_subs(string name, bool interop)
                auto subs = content_factory("test/data/15s.srt").front();
                films[i] = new_test_film2(String::compose("%1_%2_in", name, i), { picture, subs });
                films[i]->set_interop(interop);
+               subs->only_text()->set_language(dcp::LanguageTag("de"));
                make_and_verify_dcp(films[i], acceptable_errors);
        }
 
@@ -583,6 +584,7 @@ BOOST_AUTO_TEST_CASE(map_handles_interop_png_subs)
        film->set_interop(true);
        arrietty->set_trim_end(dcpomatic::ContentTime::from_seconds(110));
        arrietty->text[0]->set_use(true);
+       arrietty->text[0]->set_language(dcp::LanguageTag("de"));
        make_and_verify_dcp(
                film,
                {