- shared_ptr<Film> film = new_test_film2 ("content_test2");
-
- shared_ptr<Content> content = content_factory("test/data/red_23976.mp4").front();
- film->examine_and_add_content (content);
- BOOST_REQUIRE (!wait_for_jobs ());
- content->set_trim_start(ContentTime::from_seconds(0.5));
- film->make_dcp ();
- BOOST_REQUIRE (!wait_for_jobs ());
+ auto content = content_factory("test/data/red_23976.mp4")[0];
+ auto film = new_test_film2 ("content_test2", {content});
+ content->set_trim_start(film, ContentTime::from_seconds(0.5));
+ make_and_verify_dcp (film);