summaryrefslogtreecommitdiff
path: root/src/verify.cc
AgeCommit message (Collapse)Author
2025-12-20Derive verification note type from the code...v1.10.45Carl Hetherington
...rather than having to specify it each time.
2025-12-20Fix typo in name 200 -> 2000.Carl Hetherington
2025-12-16Rename assets() to file_assets()Carl Hetherington
since this is what it was returning anyway.
2025-09-13Fix incorrect verify errors with multi-CPL DCPs.v1.10.27Carl Hetherington
We didn't reset the variables used to check for mismatched channel counts or subtitle languages.
2025-09-13Compare CPL ID also when sorting verification notes.Carl Hetherington
2025-05-08Only check hashes of each asset once (#3035).v1.10.21Carl Hetherington
2025-04-12Report zero- or negative-length subtitles as an error.v1.10.19Carl Hetherington
This is distinct from the Bv2.1 warning about subtitles being shorter than 15 frames. Also fix an assertion failure when negative-length subtitles are seen.
2025-04-12Coalesce an if.Carl Hetherington
2025-03-27Introduce and use dcp::Profile.v1.10.18Carl Hetherington
This replaces the specific flags passed to DCP::write(), is a property of the CPL (where it seems to belong) and allows us to write what I hear is the correct metadata for this mythical Bv2.0 that somebody invented.
2025-03-25Check J2K Rsiz (capabilities) word.Carl Hetherington
2025-03-25Don't give an invalid picture size error for MPEG2 picture assets.Carl Hetherington
2025-02-23Make picture details checks optional.v1.10.12Carl Hetherington
2025-02-21Rename verify_picture_asset -> verify_picture_details.Carl Hetherington
2025-02-20Fix crash when trying to verify MPEG2 picture assets.Carl Hetherington
2025-01-31Fix up for const fix in libcxml.v1.10.9Carl Hetherington
2025-01-19Make MainSoundConfiguration behave "correctly" with badly-formatted strings.Carl Hetherington
Add some documentation for a design "principle" when handling malformatted data, and make MainSoundConfiguration adhere to that.
2025-01-01Replace raw_convert<string> with direct calls to fmt.v1.10.3Carl Hetherington
2024-12-30Don't give some inappropriate verification errors on encrypted assets (DoM ↵v1.10.2Carl Hetherington
#2916). We would give some errors about the XML even though we can't read the XML.
2024-12-08Avoid crash with empty ASSETMAP file.v1.9.26v1.9.xCarl Hetherington
2024-12-08Fix DCP Constraints Profile verification in the presence of other CPL ↵Carl Hetherington
metadata Properties.
2024-12-08Extract more stuff to verify_internal.hCarl Hetherington
2024-12-08Extract some stuff to verify_internal.hCarl Hetherington
2024-12-08Cleanup: use CPL from the context instead of an explicitly-passed copy.Carl Hetherington
2024-09-25Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.22Carl Hetherington
2024-09-23Allow but give an error when seeing a strange PKL namespace.v1.8.110Carl Hetherington
DoM bug #2868 reports that Resolve made a DCP with the PKL namespace http://www.smpte-ra.org/schemas/2067-2/2016/PKL This seems wrong (google suggests that this is the namespace for IMF PKLs) but let's accept it and log an error instead of throwing an exception.
2024-08-17Subtitle{,String,Image} -> Text{,String,Image}.Carl Hetherington
2024-08-17{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.Carl Hetherington
2024-08-17Merge ReelClosedCaptionAsset into ReelTextAsset.Carl Hetherington
2024-08-17Reel{,Interop,SMPTE}SubtitleAsset -> Reel{,Interop,SMPTE}TextAsset.Carl Hetherington
2024-06-28Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.10Carl Hetherington
2024-06-27Speculative fix for assertion failure (DoM #2839).v1.8.101Carl Hetherington
2024-06-27Whitespace.Carl Hetherington
2024-06-27Some comments and default values.Carl Hetherington
2024-06-27Extract method to a header to make it testable.Carl Hetherington
2024-05-24Check that DCPs have 24-bit audio.Carl Hetherington
2024-04-18Rename classes.Carl Hetherington
sed -i "s/\<PictureAsset/J2KPictureAsset/g" src/*.{cc,h} sed -i "s/\<dcp::PictureAsset/dcp::J2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureAsset/MonoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureAsset/dcp::MonoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureAsset/StereoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureAsset/dcp::StereoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureFrame/MonoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureFrame/dcp::MonoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureFrame/StereoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureFrame/dcp::StereoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
2024-04-18Fix includes.Carl Hetherington
sed -i "s/#include \"stereo_picture_asset_writer.h\"/#include \"stereo_j2k_picture_asset_writer.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"stereo_picture_asset_reader.h\"/#include \"stereo_j2k_picture_asset_reader.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_reader.h\"/#include \"mono_j2k_picture_asset_reader.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_asset.h\"/#include \"stereo_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"picture_asset_writer.h\"/#include \"j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"picture_asset.h\"/#include \"j2k_picture_asset.h\""/g src/*.{cc,h} tools/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"mono_picture_frame.h\"/#include \"mono_j2k_picture_frame.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_frame.h\"/#include \"stereo_j2k_picture_frame.h\""/g src/*.{cc,h} sed -i "s/#include \"picture_asset_writer_common.cc\"/#include \"j2k_picture_asset_writer_common.cc\""/g src/*.{cc,h}
2024-04-18Merge remote-tracking branch 'origin/main' into v1.9.xCarl Hetherington
2024-04-17Make some not-so-important CPL read errors non-fatal (DoM #2797).v1.8.99Carl Hetherington
2024-04-15Rename VerifyResult -> VerificationResult.Carl Hetherington
2024-04-15Add process_string parameter to dcp::note_to_string().Carl Hetherington
2024-04-15Add process_filename parameter to note_to_string().Carl Hetherington
2024-04-15Add OK note when content version label text is valid.Carl Hetherington
2024-04-15Add OK note when <ContentKind> is valid.Carl Hetherington
2024-04-15Add OK note when PKL and CPL annotation texts match.Carl Hetherington
2024-04-15Add OK note when CPL has valid annotation text.Carl Hetherington
2024-04-15Add OK note when main picture active area is valid.Carl Hetherington
2024-04-15Add OK note when release territory is valid.Carl Hetherington
2024-04-15Add OK note when picture asset hashes are correct.Carl Hetherington
2024-04-15Add OK note when picture frame sizes are all OK.Carl Hetherington