diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-10 19:09:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-10 23:21:06 +0200 |
| commit | c8bd4ead4c9e757d88136a7fdd556272f36be793 (patch) | |
| tree | 49bfb830af2b179c48c68c577dfaea7b60eec051 /test | |
| parent | 1c09ae94a4b94395ce2c13020a71526a65b9ce7e (diff) | |
Move get_reel_assets() out of Player, as it doesn't need to be there.
Diffstat (limited to 'test')
| -rw-r--r-- | test/vf_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vf_test.cc b/test/vf_test.cc index f3ba156a1..32e7ae431 100644 --- a/test/vf_test.cc +++ b/test/vf_test.cc @@ -291,8 +291,7 @@ BOOST_AUTO_TEST_CASE (vf_test5) 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))); |
