summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-15 03:36:59 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-15 18:03:57 +0200
commit21415bdb69a99c4fc36cf4b5e5160a171bb1cad4 (patch)
tree46265de6587585d292ac4c97267327af0c359c1c /test/import_dcp_test.cc
parent6207d271effad4e691a5155ccdad083e03b010bc (diff)
Change Film::examine_and_add_content to take a vector of content.
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index e9f7f068b..8782e7f73 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -143,7 +143,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_metadata_test)
/* Make a DCP with some ratings and a content version */
auto film = new_test_film("import_dcp_metadata_test");
auto content = content_factory("test/data/flat_red.png")[0];
- film->examine_and_add_content (content);
+ film->examine_and_add_content({content});
BOOST_REQUIRE (!wait_for_jobs());
content->video->set_length (10);
@@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_metadata_test)
/* Import the DCP to a new film and check the metadata */
auto film2 = new_test_film("import_dcp_metadata_test2");
auto imported = make_shared<DCPContent>(film->dir(film->dcp_name()));
- film2->examine_and_add_content (imported);
+ film2->examine_and_add_content({imported});
BOOST_REQUIRE (!wait_for_jobs());
film2->write_metadata ();