projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix exceptions on some metadata.xml.
[dcpomatic.git]
/
test
/
dcp_playback_test.cc
diff --git
a/test/dcp_playback_test.cc
b/test/dcp_playback_test.cc
index 04a0eabe3f5474fdbd84e04c6148ee4f65fffb88..1dda667a08ab825bac698cb9e2fe6ca83a7bbf53 100644
(file)
--- a/
test/dcp_playback_test.cc
+++ b/
test/dcp_playback_test.cc
@@
-28,6
+28,7
@@
using std::pair;
using boost::shared_ptr;
using boost::optional;
using std::pair;
using boost::shared_ptr;
using boost::optional;
+using namespace dcpomatic;
/** Simulate the work that the player does, for profiling */
BOOST_AUTO_TEST_CASE (dcp_playback_test)
/** Simulate the work that the player does, for profiling */
BOOST_AUTO_TEST_CASE (dcp_playback_test)
@@
-48,7
+49,7
@@
BOOST_AUTO_TEST_CASE (dcp_playback_test)
);
float* audio_buffer = new float[2000*6];
while (true) {
);
float* audio_buffer = new float[2000*6];
while (true) {
- pair<shared_ptr<PlayerVideo>, DCPTime> p = butler->get_video ();
+ pair<shared_ptr<PlayerVideo>, DCPTime> p = butler->get_video (
true, 0
);
if (!p.first) {
break;
}
if (!p.first) {
break;
}