summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-16 12:11:17 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-16 12:11:17 +0100
commit05ef423e0fa4c1730c70770ff9528ee45f70e064 (patch)
treea0ef5129e73e93e7ac59c6c76d782cd4d9d4ec85 /test
parent4421884e04945a5251f37e892386a5f1d32d8881 (diff)
Rename Film::player to reflect the fact that it creates a new Player on each call.
Diffstat (limited to 'test')
-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 ();