X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fdcp_decoder_test.cc;h=231a99da2268c67a350bc4f1da04e773d5ff454e;hb=20c70c93a38551842721ddee2e08c7b33a7bb924;hp=32eed9354cfcd09c99e4bec11d61dd161fed3ecc;hpb=d366e853399d3247077aa1a04d8b6d6ef38c7cfc;p=dcpomatic.git diff --git a/test/dcp_decoder_test.cc b/test/dcp_decoder_test.cc index 32eed9354..231a99da2 100644 --- a/test/dcp_decoder_test.cc +++ b/test/dcp_decoder_test.cc @@ -89,7 +89,7 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test) ov_content.reset (new DCPContent(ov->dir(ov->dcp_name(false)))); test->examine_and_add_content (ov_content); BOOST_REQUIRE (!wait_for_jobs()); - shared_ptr player (new Player(test, test->playlist())); + shared_ptr player (new Player(test)); shared_ptr decoder = boost::dynamic_pointer_cast(player->_pieces.front()->decoder); BOOST_REQUIRE (decoder); @@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test) shared_ptr vf_content (new DCPContent(vf->dir(vf->dcp_name(false)))); test->examine_and_add_content (vf_content); BOOST_REQUIRE (!wait_for_jobs()); - player.reset (new Player(test, test->playlist())); + player.reset (new Player(test)); decoder = boost::dynamic_pointer_cast(player->_pieces.front()->decoder); BOOST_REQUIRE (decoder); @@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test) shared_ptr encrypted_content (new DCPContent(encrypted->dir(encrypted->dcp_name(false)))); test->examine_and_add_content (encrypted_content); BOOST_REQUIRE (!wait_for_jobs()); - player.reset (new Player(test, test->playlist())); + player.reset (new Player(test)); decoder = boost::dynamic_pointer_cast(player->_pieces.front()->decoder); BOOST_REQUIRE (decoder);