Ignore JPEG2000 guard bits warning in a test using an old MXF.
authorCarl Hetherington <cth@carlh.net>
Tue, 6 Apr 2021 09:58:40 +0000 (11:58 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 6 Apr 2021 09:58:40 +0000 (11:58 +0200)
test/video_mxf_content_test.cc

index f110062..1880935 100644 (file)
@@ -63,7 +63,13 @@ BOOST_AUTO_TEST_CASE (video_mxf_content_test)
        BOOST_REQUIRE (check);
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs());
-       make_and_verify_dcp (film, { dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE });
+       make_and_verify_dcp (
+               film,
+               {
+                       dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE,
+                       dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE,
+                       dcp::VerificationNote::Code::INVALID_JPEG2000_GUARD_BITS_FOR_2K
+               });
 
        auto ref = make_shared<dcp::MonoPictureAsset>(ref_mxf);
        boost::filesystem::directory_iterator i ("build/test/video_mxf_content_test/video");