X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fffmpeg_audio_test.cc;h=6ad6c1fdb8d2ae38aaf27188f752c0a143c139d7;hb=50fa6e1802dbc8f6fd6406a93f86ec262a55ba1f;hp=7a9aaf3463d131c6e064a9f0bb1bdcf68c60cbd5;hpb=4219d4b76c5cd5690b1f4fa0c248d93ced26d05a;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 ()) {} }