Take Film pointer out of Content.
[dcpomatic.git] / test / subtitle_trim_test.cc
index 33bcf823f2deb69aec1963c58da1f54f778b9d76..2380449d8a4d9c8cee6aa345e41864df95d3ea3d 100644 (file)
@@ -29,7 +29,7 @@ using boost::shared_ptr;
 BOOST_AUTO_TEST_CASE (subtitle_trim_test1)
 {
        shared_ptr<Film> film = new_test_film2 ("subtitle_trim_test1");
-       shared_ptr<DCPSubtitleContent> content (new DCPSubtitleContent (film, "test/data/dcp_sub5.xml"));
+       shared_ptr<DCPSubtitleContent> content (new DCPSubtitleContent ("test/data/dcp_sub5.xml"));
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());