X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fbutler_test.cc;h=1645d41003fe886a485506ab1a5a6a1d6bd1a989;hp=7fd5ea57113bdb43135b281000a86204b3140284;hb=b1e22dff981fb86ae04b12bb5a064e61030793a8;hpb=736d6bf3242a0ba3841cb765e97cf9fee3540460 diff --git a/test/butler_test.cc b/test/butler_test.cc index 7fd5ea571..1645d4100 100644 --- a/test/butler_test.cc +++ b/test/butler_test.cc @@ -46,9 +46,9 @@ BOOST_AUTO_TEST_CASE (butler_test1) film->set_name ("butler_test1"); film->set_container (Ratio::from_id ("185")); - auto video = content_factory("test/data/flat_red.png").front(); + auto video = content_factory("test/data/flat_red.png")[0]; film->examine_and_add_content (video); - auto audio = content_factory("test/data/staircase.wav").front(); + auto audio = content_factory("test/data/staircase.wav")[0]; film->examine_and_add_content (audio); BOOST_REQUIRE (!wait_for_jobs ());