X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsrt_subtitle_test.cc;h=a601ea58a2de12a96b78015333ee4c00c3caa16a;hb=99bcbf1e71585a13c00d9696284d5a1e71913fbd;hp=025972da8ddab4f4195acd76181235b19a1fa855;hpb=1029bec7334fedbd8570cd8bfa5ddf954da8b3ec;p=dcpomatic.git diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc index 025972da8..a601ea58a 100644 --- a/test/srt_subtitle_test.cc +++ b/test/srt_subtitle_test.cc @@ -177,6 +177,22 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test5) check_dcp ("test/data/xml_subtitle_test2", film->dir (film->dcp_name ())); } +BOOST_AUTO_TEST_CASE (srt_subtitle_test6) +{ + shared_ptr film = new_test_film2 ("srt_subtitle_test6"); + film->set_interop (false); + shared_ptr content (new TextSubtitleContent (film, "test/data/frames.srt")); + content->subtitle->set_use (true); + content->subtitle->set_burn (false); + film->examine_and_add_content (content); + BOOST_REQUIRE (!wait_for_jobs ()); + film->make_dcp (); + BOOST_REQUIRE (!wait_for_jobs ()); + film->write_metadata (); + + check_dcp ("test/data/srt_subtitle_test6", film->dir(film->dcp_name())); +} + #if 0 /* XXX: this is disabled; there is some difference in font rendering between the test machine and others.