Specify CPL standard on construction.
[libdcp.git] / test / round_trip_test.cc
index a9037114eef3700749f6b4f8abb81fd0241b60c5..313f60699220c52fb60add4e1c3ef6b041aaec98 100644 (file)
@@ -79,9 +79,9 @@ BOOST_AUTO_TEST_CASE (round_trip_test)
 
        asset_A->set_key (key);
 
-       shared_ptr<dcp::CPL> cpl (new dcp::CPL ("A Test DCP", dcp::ContentKind::FEATURE));
        shared_ptr<dcp::Reel> reel (new dcp::Reel ());
        reel->add (shared_ptr<dcp::ReelMonoPictureAsset> (new dcp::ReelMonoPictureAsset (asset_A, 0)));
+       auto cpl = make_shared<dcp::CPL>("A Test DCP", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE);
        cpl->add (reel);
 
        dcp::LocalTime start;