summaryrefslogtreecommitdiff
path: root/test/play_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-17 16:08:43 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-17 16:08:43 +0100
commita193afb89de3e335612e07a3fbec3e4095f14f98 (patch)
treed794f6f94dfe5506086729fe5ccd55e4f782bfa9 /test/play_test.cc
parentc13757391e75cdde7a9cef947c921b7a9ad08003 (diff)
Remove Film::make_player().
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 ();