X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsrt_subtitle_test.cc;h=f2d6373926749a01226a5aa25d177c572b5c9d07;hb=392d675f5799671abbcf1a9a47820321bcbdcca2;hp=0c1f0716166eff0c0a1a9265ab1e736bb3195563;hpb=f77ec143719c86ddbf098bff6d19fe2a159b8c3e;p=dcpomatic.git diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc index 0c1f07161..f2d637392 100644 --- a/test/srt_subtitle_test.cc +++ b/test/srt_subtitle_test.cc @@ -150,9 +150,13 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test5) content->only_text()->set_use (true); content->only_text()->set_burn (false); film->examine_and_add_content (content); - film->examine_and_add_content (content); + shared_ptr content2 (new StringTextFileContent("test/data/subrip2.srt")); + content2->only_text()->set_use (true); + content2->only_text()->set_burn (false); + film->examine_and_add_content (content2); BOOST_REQUIRE (!wait_for_jobs()); content->set_position (film, DCPTime()); + content2->set_position (film, DCPTime()); film->make_dcp (); BOOST_REQUIRE (!wait_for_jobs()); film->write_metadata ();