Add tooltip for recipient file in the screen dialog.
[dcpomatic.git] / test / atmos_test.cc
index 661eca5b927b8058c762c899d8ddaf2a8d599938..5c624a871c230e9b5665e6bb466106efc5c57559 100644 (file)
 #include <boost/test/unit_test.hpp>
 
 
+using std::make_shared;
 using std::string;
 using std::vector;
-using std::make_shared;
 using boost::optional;
-using std::shared_ptr;
 
 
 BOOST_AUTO_TEST_CASE (atmos_passthrough_test)
@@ -98,7 +97,7 @@ BOOST_AUTO_TEST_CASE (atmos_trim_test)
        auto content = content_factory(TestPaths::private_data() / "atmos_asset.mxf");
        auto film = new_test_film2 ("atmos_trim_test", content, &cl);
 
-       content[0]->set_trim_start (dcpomatic::ContentTime::from_seconds(1));
+       content[0]->set_trim_start(film, dcpomatic::ContentTime::from_seconds(1));
 
        /* Just check that the encode runs; I'm not sure how to test the MXF */
        make_and_verify_dcp (film, { dcp::VerificationNote::Code::MISSING_CPL_METADATA });