Remove Film::make_player().
[dcpomatic.git] / test / play_test.cc
index bbf70781a87d4600526428055228fc54809c1c62..dcf8e7f6dd323e264ecc5d8d1197f4956355ea77 100644 (file)
@@ -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 ();