From 990f879d9af6300068af44c431b1a8e158e7f7a0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Apr 2020 15:48:19 +0200 Subject: Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432 --- test/dcp_decoder_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/dcp_decoder_test.cc') diff --git a/test/dcp_decoder_test.cc b/test/dcp_decoder_test.cc index 36df09834..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(), test->length())); + 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(), test->length())); + 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(), test->length())); + player.reset (new Player(test)); decoder = boost::dynamic_pointer_cast(player->_pieces.front()->decoder); BOOST_REQUIRE (decoder); -- cgit v1.2.3