projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Punt on transferring old decoder stuff.
[dcpomatic.git]
/
test
/
ffmpeg_audio_only_test.cc
diff --git
a/test/ffmpeg_audio_only_test.cc
b/test/ffmpeg_audio_only_test.cc
index df32cadd49e89da85cf4af378d7e1f5b9cd3141b..5e2c130a50991a0f247e5035f125d819da2a8949 100644
(file)
--- 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.
/** @file test/ffmpeg_audio_only_test.cc
* @brief Test FFmpeg content with audio but no video.
- * @ingroup
specific
+ * @ingroup
feature
*/
#include "lib/film.h"
*/
#include "lib/film.h"
@@
-37,6
+37,9
@@
#include <iostream>
using std::min;
#include <iostream>
using std::min;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using boost::shared_ptr;
static SNDFILE* ref = 0;
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];
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 ()) {}
player->Audio.connect (bind (&audio, _1, info.channels));
while (!player->pass ()) {}