diff options
Diffstat (limited to 'test/ffmpeg_audio_test.cc')
| -rw-r--r-- | test/ffmpeg_audio_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_audio_test.cc b/test/ffmpeg_audio_test.cc index 8e0fd9280..7a9aaf346 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> player (new Player (film, film->playlist ())); + shared_ptr<Player> player (new Player(film, film->playlist(), film->length())); 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> player (new Player (film, film->playlist ())); + shared_ptr<Player> player (new Player(film, film->playlist(), film->length())); player->set_fast (); while (!player->pass ()) {} } |
