vf->set_reel_type (ReelType::BY_VIDEO_CONTENT);
auto dcp = make_shared<DCPContent>(ov->dir(ov->dcp_name()));
BOOST_REQUIRE (dcp);
- dcp->set_trim_start (ContentTime::from_seconds (1));
+ dcp->set_trim_start(vf, ContentTime::from_seconds (1));
dcp->set_trim_end (ContentTime::from_seconds (1));
vf->examine_and_add_content (dcp);
BOOST_REQUIRE (!wait_for_jobs());
make_and_verify_dcp (vf, {dcp::VerificationNote::Code::EXTERNAL_ASSET});
/* Check that the selected reel assets are right */
- auto player = make_shared<Player>(vf, Image::Alignment::COMPACT);
- auto a = player->get_reel_assets();
+ auto a = get_referenced_reel_assets(vf, vf->playlist());
BOOST_REQUIRE_EQUAL (a.size(), 4U);
auto i = a.begin();
BOOST_CHECK (i->period == DCPTimePeriod(DCPTime(0), DCPTime(960000)));
vf->set_reel_type(ReelType::BY_VIDEO_CONTENT);
vf_dcp->set_reference_video(true);
vf_dcp->set_reference_audio(true);
- vf_dcp->set_trim_start(ContentTime::from_seconds(10));
+ vf_dcp->set_trim_start(vf, ContentTime::from_seconds(10));
vf_dcp->set_position(vf, DCPTime::from_seconds(10));
make_and_verify_dcp (vf, { dcp::VerificationNote::Code::EXTERNAL_ASSET });
}