Some tidying up of test Doxygen.
[dcpomatic.git] / test / ffmpeg_audio_only_test.cc
index df32cadd49e89da85cf4af378d7e1f5b9cd3141b..5e2c130a50991a0f247e5035f125d819da2a8949 100644 (file)
@@ -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 <iostream>
 
 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> 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 ()) {}