summaryrefslogtreecommitdiff
path: root/test/dcp_playback_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:54:37 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-21 23:52:46 +0200
commite3dba6242aed7415eddbbfb1e5d56ce6680603c1 (patch)
tree8628ae20b900cd03638648ef34711a56bf7ef3a6 /test/dcp_playback_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/dcp_playback_test.cc')
-rw-r--r--test/dcp_playback_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc
index a5b69e181..30a9e6c46 100644
--- a/test/dcp_playback_test.cc
+++ b/test/dcp_playback_test.cc
@@ -38,10 +38,8 @@ using namespace dcpomatic;
/** Simulate the work that the player does, for profiling */
BOOST_AUTO_TEST_CASE (dcp_playback_test)
{
- auto film = new_test_film ("dcp_playback_test");
auto content = make_shared<DCPContent>(TestPaths::private_data() / "JourneyToJah_TLR-1_F_EN-DE-FR_CH_51_2K_LOK_20140225_DGL_SMPTE_OV");
- film->examine_and_add_content (content);
- BOOST_REQUIRE (!wait_for_jobs());
+ auto film = new_test_film2("dcp_playback_test", { content });
Player player(film, Image::Alignment::PADDED);