summaryrefslogtreecommitdiff
path: root/test/butler_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/butler_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/butler_test.cc')
-rw-r--r--test/butler_test.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/butler_test.cc b/test/butler_test.cc
index 1c59de798..b0d4590da 100644
--- a/test/butler_test.cc
+++ b/test/butler_test.cc
@@ -40,17 +40,9 @@ using namespace dcpomatic;
BOOST_AUTO_TEST_CASE (butler_test1)
{
- auto film = new_test_film ("butler_test1");
- film->set_dcp_content_type (DCPContentType::from_isdcf_name("FTR"));
- film->set_name ("butler_test1");
- film->set_container (Ratio::from_id ("185"));
-
auto video = content_factory("test/data/flat_red.png")[0];
- film->examine_and_add_content (video);
auto audio = content_factory("test/data/staircase.wav")[0];
- film->examine_and_add_content (audio);
- BOOST_REQUIRE (!wait_for_jobs ());
-
+ auto film = new_test_film2("butler_test1", { video, audio });
film->set_audio_channels (6);
/* This is the map of the player output (5.1) to the butler output (also 5.1) */