X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fffmpeg_audio_only_test.cc;h=5e2c130a50991a0f247e5035f125d819da2a8949;hb=8611fc8597605aa51373adb4fc8f0c697b8c7360;hp=df32cadd49e89da85cf4af378d7e1f5b9cd3141b;hpb=4219d4b76c5cd5690b1f4fa0c248d93ced26d05a;p=dcpomatic.git diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc index df32cadd4..5e2c130a5 100644 --- a/test/ffmpeg_audio_only_test.cc +++ b/test/ffmpeg_audio_only_test.cc @@ -20,7 +20,7 @@ /** @file test/ffmpeg_audio_only_test.cc * @brief Test FFmpeg content with audio but no video. - * @ingroup specific + * @ingroup feature */ #include "lib/film.h" @@ -37,6 +37,9 @@ #include using std::min; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif using boost::shared_ptr; static SNDFILE* ref = 0; @@ -92,7 +95,7 @@ test (boost::filesystem::path file) ref_buffer_size = info.samplerate * info.channels; ref_buffer = new float[ref_buffer_size]; - shared_ptr player (new Player(film, film->playlist(), film->length())); + shared_ptr player (new Player(film)); player->Audio.connect (bind (&audio, _1, info.channels)); while (!player->pass ()) {}