summaryrefslogtreecommitdiff
path: root/test/dcp_examiner_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-21 10:47:38 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-21 18:48:53 +0100
commit3ffd0163026be24e5373e0674c3301ed37546e44 (patch)
tree918e6de08fb1efff2098148295fa60a614102c8e /test/dcp_examiner_test.cc
parenta9b1c1cb65e1902a64430977cf698054e131a6f4 (diff)
Make DCPExaminer::size() optional and deal with the consequences.v2.16.78
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
Diffstat (limited to 'test/dcp_examiner_test.cc')
-rw-r--r--test/dcp_examiner_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_examiner_test.cc b/test/dcp_examiner_test.cc
index cdd6b20f1..7275a33c7 100644
--- a/test/dcp_examiner_test.cc
+++ b/test/dcp_examiner_test.cc
@@ -40,11 +40,11 @@ BOOST_AUTO_TEST_CASE(check_examine_vfs)
auto ov_dcp = make_shared<DCPContent>(ov->dir(ov->dcp_name()));
auto second_reel = content_factory("test/data/scope_red.png")[0];
- auto vf = new_test_film2("check_examine_vf_vf", { ov_dcp, second_reel });
+ auto vf = new_test_film2("check_examine_vfs_vf", { ov_dcp, second_reel });
vf->set_container(Ratio::from_id("239"));
vf->set_reel_type(ReelType::BY_VIDEO_CONTENT);
ov_dcp->set_reference_video(true);
- make_and_verify_dcp(vf, { dcp::VerificationNote::Code::EXTERNAL_ASSET });
+ make_and_verify_dcp(vf, { dcp::VerificationNote::Code::EXTERNAL_ASSET }, false);
auto vf_dcp = make_shared<DCPContent>(vf->dir(vf->dcp_name()));
DCPExaminer examiner(vf_dcp, false);