summaryrefslogtreecommitdiff
path: root/test/play_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/play_test.cc')
-rw-r--r--test/play_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/play_test.cc b/test/play_test.cc
index 12f80a282..0a15bfed2 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -98,7 +98,7 @@ BOOST_AUTO_TEST_CASE (play_test)
/* A is 16 frames long at 25 fps */
BOOST_CHECK_EQUAL (B->start(), 16 * TIME_HZ / 25);
- shared_ptr<Player> player = film->player ();
+ shared_ptr<Player> player = film->make_player ();
PlayerWrapper wrap (player);
/* Seek and audio don't get on at the moment */
player->disable_audio ();