зеркало из https://github.com/mozilla/gecko-dev.git
d9995b9edc
Update mp4parse-rust update script and pull the new version. This update changes the mp4parse C-API. Specifically, each track can now have multiple sample descriptions. Previously we'd just exposed the first for the entire track, and if others were available they were not exposed via the API. Because of the API change, we update the C++ interface with mp4parse-rust. We now inspect the sample info to make sure they're consistent with the parsers expectations: - Only a single codec is present for a track, multiple codecs in a track will result in us returning an error. - Only 0 or 1 crypto info is present for a track, more than one set of info will result in us returning an error. We still generalize some of the first sample info to the samples of the track, as we did before this patch. However, we will now catch the above cases explicitly. We now handle crypto information if it is not present on the first sample info. The parser will iterate through sample infos and use the first set of crypto info it finds (and fail if it finds 2+). Differential Revision: https://phabricator.services.mozilla.com/D14107 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
build.rs |