diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-04-10 22:04:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-10 22:04:51 +0200 |
| commit | fd271a32fd1ffa1714f067fb3e0dcd0b8b3a1a93 (patch) | |
| tree | 910b433eaad246e36c97b5d260831ddb233eac99 | |
| parent | de8987885656e5658eae15e4acd14ed94fc24ec7 (diff) | |
| -rw-r--r-- | src/dcp.cc | 2 | ||||
| -rw-r--r-- | test/verify_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -274,7 +274,7 @@ DCP::read (vector<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_m } other_assets.push_back(asset); if (found_threed_marked_as_twod && notes) { - notes->push_back({VerificationNote::Code::THREED_ASSET_MARKED_AS_TWOD, path}); + notes->push_back(dcp::VerificationNote(VerificationNote::Code::THREED_ASSET_MARKED_AS_TWOD, path).set_asset_id(id)); } } else if (*pkl_type == remove_parameters(FontAsset::static_pkl_type(standard))) { other_assets.push_back(make_shared<FontAsset>(id, path)); diff --git a/test/verify_test.cc b/test/verify_test.cc index e3cff85a..40a4aa1a 100644 --- a/test/verify_test.cc +++ b/test/verify_test.cc @@ -4881,7 +4881,7 @@ BOOST_AUTO_TEST_CASE (verify_threed_marked_as_twod) note(VC::MATCHING_PKL_ANNOTATION_TEXT_WITH_CPL, cpl), note(VC::MATCHING_CPL_HASHES, cpl), note(VC::VALID_CONTENT_KIND, cpl).set_content_kind("trailer"), - VN(VC::THREED_ASSET_MARKED_AS_TWOD, boost::filesystem::canonical(find_file(path, "j2c"))), + VN(VC::THREED_ASSET_MARKED_AS_TWOD, boost::filesystem::canonical(find_file(path, "j2c"))).set_asset_id("0d6f57e6-adac-4e1d-bfbe-d162bf13e2cd"), VN(VC::INVALID_STANDARD) }); |
