summaryrefslogtreecommitdiff
path: root/test/ffmpeg_audio_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-23 15:48:19 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-23 15:48:19 +0200
commit990f879d9af6300068af44c431b1a8e158e7f7a0 (patch)
treeb938ca31af91c256f01eae8c3566a95763eefdfa /test/ffmpeg_audio_test.cc
parent4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d (diff)
Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432
Diffstat (limited to 'test/ffmpeg_audio_test.cc')
-rw-r--r--test/ffmpeg_audio_test.cc4
1 files changed, 2 insertions, 2 deletions
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> player (new Player(film, film->playlist(), film->length()));
+ shared_ptr<Player> 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> player (new Player(film, film->playlist(), film->length()));
+ shared_ptr<Player> player (new Player(film));
player->set_fast ();
while (!player->pass ()) {}
}