X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsubtitle_trim_test.cc;h=966fc66b6f12910fd6cf9f47274ad4752a6b589c;hb=0b21bfba60be812a5d04cc5c10868e04b5579404;hp=33bcf823f2deb69aec1963c58da1f54f778b9d76;hpb=88b52579c0bb391fe0db225b7a608ad3ffd61831;p=dcpomatic.git diff --git a/test/subtitle_trim_test.cc b/test/subtitle_trim_test.cc index 33bcf823f..966fc66b6 100644 --- a/test/subtitle_trim_test.cc +++ b/test/subtitle_trim_test.cc @@ -24,12 +24,13 @@ #include using boost::shared_ptr; +using namespace dcpomatic; /** Check for no crash when trimming DCP subtitles (#1275) */ BOOST_AUTO_TEST_CASE (subtitle_trim_test1) { shared_ptr film = new_test_film2 ("subtitle_trim_test1"); - shared_ptr content (new DCPSubtitleContent (film, "test/data/dcp_sub5.xml")); + shared_ptr content (new DCPSubtitleContent ("test/data/dcp_sub5.xml")); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ());