summaryrefslogtreecommitdiff
path: root/test/dcp_decoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-15 02:19:35 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-15 11:10:47 +0200
commit847daf7ec0f741eb6d50638c2096743ee731634c (patch)
tree8fba9c9571d0579151dcca8876cd22c5062825e6 /test/dcp_decoder_test.cc
parent66a6aea50054a5af8624c7d36949c642f4c8b619 (diff)
Change ExamineContentJob to take a vector of content.
Diffstat (limited to 'test/dcp_decoder_test.cc')
-rw-r--r--test/dcp_decoder_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dcp_decoder_test.cc b/test/dcp_decoder_test.cc
index cf8366919..5e31856eb 100644
--- a/test/dcp_decoder_test.cc
+++ b/test/dcp_decoder_test.cc
@@ -43,6 +43,7 @@
using std::list;
using std::make_shared;
+using std::shared_ptr;
using std::string;
using std::vector;
@@ -107,7 +108,7 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test)
reels = decoder->reels();
vf_content->add_ov (ov->dir(ov->dcp_name(false)));
- JobManager::instance()->add(make_shared<ExamineContentJob>(test, vf_content, false));
+ JobManager::instance()->add(make_shared<ExamineContentJob>(test, vector<shared_ptr<Content>>{vf_content}, false));
BOOST_REQUIRE (!wait_for_jobs());
decoder = std::dynamic_pointer_cast<DCPDecoder>(player->_pieces.front()->decoder);
BOOST_REQUIRE (decoder);
@@ -125,7 +126,7 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test)
reels = decoder->reels();
encrypted_content->add_kdm (kdm);
- JobManager::instance()->add(make_shared<ExamineContentJob>(test, encrypted_content, false));
+ JobManager::instance()->add(make_shared<ExamineContentJob>(test, vector<shared_ptr<Content>>{encrypted_content}, false));
BOOST_REQUIRE (!wait_for_jobs());
decoder = std::dynamic_pointer_cast<DCPDecoder>(player->_pieces.front()->decoder);
BOOST_REQUIRE (decoder);