X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fffmpeg_audio_test.cc;fp=test%2Fffmpeg_audio_test.cc;h=6ad6c1fdb8d2ae38aaf27188f752c0a143c139d7;hb=990f879d9af6300068af44c431b1a8e158e7f7a0;hp=7a9aaf3463d131c6e064a9f0bb1bdcf68c60cbd5;hpb=4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d;p=dcpomatic.git diff --git a/test/ffmpeg_audio_test.cc b/test/ffmpeg_audio_test.cc index 7a9aaf346..6ad6c1fdb 100644 --- a/test/ffmpeg_audio_test.cc +++ b/test/ffmpeg_audio_test.cc @@ -134,7 +134,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test2) film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - shared_ptr player (new Player(film, film->playlist(), film->length())); + shared_ptr player (new Player(film)); while (!player->pass ()) {} } @@ -146,7 +146,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test3) film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - shared_ptr player (new Player(film, film->playlist(), film->length())); + shared_ptr player (new Player(film)); player->set_fast (); while (!player->pass ()) {} }