X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fthreed_test.cc;h=e322dbda520a62076b9e9fcefce8ed100eb565a2;hb=486038a7eb23498e1e5097e73a32929d889ca505;hp=b4599cf809fe1914625a0ac3de959920596ed4ba;hpb=b7a57184200d340bebcf81552aa1f05f220a8ec5;p=dcpomatic.git diff --git a/test/threed_test.cc b/test/threed_test.cc index b4599cf80..e322dbda5 100644 --- a/test/threed_test.cc +++ b/test/threed_test.cc @@ -183,7 +183,7 @@ BOOST_AUTO_TEST_CASE (threed_test7) auto film = new_test_film2 ("threed_test7"); path const content_path = "test/data/flat_red.png"; - auto c = content_factory(content_path).front(); + auto c = content_factory(content_path)[0]; film->examine_and_add_content (c); BOOST_REQUIRE (!wait_for_jobs()); @@ -272,7 +272,9 @@ BOOST_AUTO_TEST_CASE (threed_test_butler_overfill) auto player = std::make_shared(film, Image::Alignment::COMPACT); int const audio_channels = 2; - auto butler = std::make_shared(film, player, AudioMapping(), audio_channels, boost::bind(PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, Image::Alignment::PADDED, true, false); + auto butler = std::make_shared( + film, player, AudioMapping(), audio_channels, boost::bind(PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, Image::Alignment::PADDED, true, false, Butler::Audio::ENABLED + ); int const audio_frames = 1920; std::vector audio(audio_frames * audio_channels);