summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-23 13:21:17 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-23 13:21:17 +0100
commitbc5c75faaf37f8a3fd4132922c1a496ddb263f36 (patch)
treee2b52247717efd6a90f8e4bb016f24fc03dfb5c9 /test
parent637a0cc5436432c7bc84bfc9c526cd01bd3e5334 (diff)
Fix test.
Diffstat (limited to 'test')
-rw-r--r--test/play_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/play_test.cc b/test/play_test.cc
index 909813e2a..c1dabe620 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -43,7 +43,7 @@ public:
PlayerWrapper (shared_ptr<Player> p)
: _player (p)
{
- _player->Video.connect (bind (&PlayerWrapper::process_video, this, _1, _2, _3));
+ _player->Video.connect (bind (&PlayerWrapper::process_video, this, _1, _2, _4));
}
void process_video (shared_ptr<const Image> i, bool, Time t)
@@ -122,7 +122,6 @@ BOOST_AUTO_TEST_CASE (play_test)
player->seek (10 * TIME_HZ / 25, true);
optional<Video> v = wrap.get_video ();
BOOST_CHECK (v);
- cout << (v.get().time * 25 / TIME_HZ) << "\n";
BOOST_CHECK_EQUAL (v.get().time, 10 * TIME_HZ / 25);
}