summaryrefslogtreecommitdiff
path: root/test/reels_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/reels_test.cc
parent6207d271effad4e691a5155ccdad083e03b010bc (diff)
Change Film::examine_and_add_content to take a vector of content.
Diffstat (limited to 'test/reels_test.cc')
-rw-r--r--test/reels_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/reels_test.cc b/test/reels_test.cc
index 9ef5fbb9d..fcb1aee44 100644
--- a/test/reels_test.cc
+++ b/test/reels_test.cc
@@ -191,13 +191,13 @@ BOOST_AUTO_TEST_CASE (reels_test4)
shared_ptr<ImageContent> content[4];
for (int i = 0; i < 4; ++i) {
content[i] = make_shared<ImageContent>("test/data/flat_green.png");
- film->examine_and_add_content (content[i]);
+ film->examine_and_add_content({content[i]});
BOOST_REQUIRE (!wait_for_jobs());
content[i]->video->set_length (24);
}
auto subs = make_shared<StringTextFileContent>("test/data/subrip3.srt");
- film->examine_and_add_content (subs);
+ film->examine_and_add_content({subs});
BOOST_REQUIRE (!wait_for_jobs());
film->set_audio_channels(16);
@@ -663,7 +663,7 @@ BOOST_AUTO_TEST_CASE(reel_assets_same_length_with_atmos)
});
auto picture = content_factory("test/data/flat_red.png")[0];
- film->examine_and_add_content(picture);
+ film->examine_and_add_content({picture});
wait_for_jobs();
picture->video->set_length(480);