c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit a1e07b2a67542352b5a9130c5cc9f1f78c984017
parent 0a735a0910b10e085ee36b1e02b15d935774f090
Author: mauricefisher64 <92736594+mauricefisher64@users.noreply.github.com>
Date:   Wed, 22 Feb 2023 13:17:45 -0500

Disable mdat exclusion (#187)

* Check for more than one manifest store

* Fix grabbing wrong UUID

* Updated to fix playback issue

* Add comment

* Initial code

* BMFF 1.1 hash support

* fix missing file

* Test wasm fix

* Slightly more readable check

* Better variable name

* Fix typos in comments

* Update to incorporate comments

* Don't enable /mdat exclusions yet
Diffstat:
Msdk/src/store.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sdk/src/store.rs b/sdk/src/store.rs @@ -1489,6 +1489,7 @@ impl Store { exclusions.push(trun); // V2 exclusions + /* Enable this when we support Merkle trees and fragmented MP4 // /mdat exclusion let mut mdat = ExclusionsMap::new("/mdat".to_owned()); let subset_mdat = SubsetMap { @@ -1498,6 +1499,7 @@ impl Store { let subset_mdat_vec = vec![subset_mdat]; mdat.subset = Some(subset_mdat_vec); exclusions.push(mdat); + */ if calc_hashes { dh.gen_hash(asset_path)?;