diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-15 03:36:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-15 18:03:57 +0200 |
| commit | 21415bdb69a99c4fc36cf4b5e5160a171bb1cad4 (patch) | |
| tree | 46265de6587585d292ac4c97267327af0c359c1c /test/vf_test.cc | |
| parent | 6207d271effad4e691a5155ccdad083e03b010bc (diff) | |
Change Film::examine_and_add_content to take a vector of content.
Diffstat (limited to 'test/vf_test.cc')
| -rw-r--r-- | test/vf_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/vf_test.cc b/test/vf_test.cc index 61024982a..4415b79a5 100644 --- a/test/vf_test.cc +++ b/test/vf_test.cc @@ -87,7 +87,7 @@ BOOST_AUTO_TEST_CASE (vf_test1) BOOST_CHECK (!dcp->can_reference_text(film, TextType::CLOSED_CAPTION, why_not)); auto other = make_shared<FFmpegContent>("test/data/test.mp4"); - film->examine_and_add_content (other); + film->examine_and_add_content({other}); BOOST_REQUIRE (!wait_for_jobs()); BOOST_CHECK (!other->audio); @@ -214,7 +214,7 @@ BOOST_AUTO_TEST_CASE (vf_test4) dcp->set_reference_video (true); dcp->set_reference_audio (true); auto more_video = content_factory("test/data/flat_red.png")[0]; - vf->examine_and_add_content (more_video); + vf->examine_and_add_content({more_video}); BOOST_REQUIRE (!wait_for_jobs()); more_video->set_position (vf, DCPTime()); make_and_verify_dcp(vf, {dcp::VerificationNote::Code::EXTERNAL_ASSET}, false); @@ -248,7 +248,7 @@ BOOST_AUTO_TEST_CASE (vf_test5) ov->set_reel_type (ReelType::BY_VIDEO_CONTENT); for (int i = 0; i < 3; ++i) { auto video = content_factory("test/data/flat_red.png")[0]; - ov->examine_and_add_content (video); + ov->examine_and_add_content({video}); BOOST_REQUIRE (!wait_for_jobs()); video->video->set_length (24 * 10); } @@ -300,7 +300,7 @@ BOOST_AUTO_TEST_CASE (vf_test6) dcp->set_reference_audio (true); auto sub = content_factory("test/data/15s.srt")[0]; - vf->examine_and_add_content (sub); + vf->examine_and_add_content({sub}); BOOST_REQUIRE (!wait_for_jobs()); make_and_verify_dcp ( @@ -497,7 +497,7 @@ BOOST_AUTO_TEST_CASE(test_referencing_ov_with_missing_subtitle_in_some_reels) vf->set_dcp_content_type(DCPContentType::from_isdcf_name("TST")); vf->set_container(Ratio::from_id("185")); vf->write_metadata(); - vf->examine_and_add_content(dcp_ov); + vf->examine_and_add_content({dcp_ov}); BOOST_REQUIRE(!wait_for_jobs()); vf->set_reel_type(ReelType::BY_VIDEO_CONTENT); dcp_ov->set_reference_video(true); |
