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 bbf70781a..dcf8e7f6d 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -105,7 +105,7 @@ BOOST_AUTO_TEST_CASE (play_test)
/* A is 16 frames long at 25 fps */
BOOST_CHECK_EQUAL (B->position(), 16 * TIME_HZ / 25);
- shared_ptr<Player> player = film->make_player ();
+ shared_ptr<Player> player (new Player (film));
PlayerWrapper wrap (player);
/* Seek and audio don't get on at the moment */
player->disable_audio ();