Improve flushing behaviour when there is a lot of space to fill (#2364).
[dcpomatic.git] / test / threed_test.cc
index e322dbda520a62076b9e9fcefce8ed100eb565a2..ce8b67ed649e89bb82cea062bd23f47ddafee60e 100644 (file)
@@ -270,7 +270,7 @@ BOOST_AUTO_TEST_CASE (threed_test_butler_overfill)
        film->examine_and_add_content(B);
        BOOST_REQUIRE (!wait_for_jobs());
 
-       auto player = std::make_shared<Player>(film, Image::Alignment::COMPACT);
+       Player player(film, Image::Alignment::COMPACT);
        int const audio_channels = 2;
        auto butler = std::make_shared<Butler>(
                film, player, AudioMapping(), audio_channels, boost::bind(PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, Image::Alignment::PADDED, true, false, Butler::Audio::ENABLED