summaryrefslogtreecommitdiff
path: root/test/ffmpeg_audio_only_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_only_test.cc
parent4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d (diff)
Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432
Diffstat (limited to 'test/ffmpeg_audio_only_test.cc')
-rw-r--r--test/ffmpeg_audio_only_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc
index df32cadd4..6fc9f9f2c 100644
--- a/test/ffmpeg_audio_only_test.cc
+++ b/test/ffmpeg_audio_only_test.cc
@@ -92,7 +92,7 @@ test (boost::filesystem::path file)
ref_buffer_size = info.samplerate * info.channels;
ref_buffer = new float[ref_buffer_size];
- shared_ptr<Player> player (new Player(film, film->playlist(), film->length()));
+ shared_ptr<Player> player (new Player(film));
player->Audio.connect (bind (&audio, _1, info.channels));
while (!player->pass ()) {}