Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Bryce Van Dyk d9995b9edc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
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
2018-12-12 15:04:18 +00:00
Dorel Luca 58cd1ee36a Backed out changeset b3a9872c08d7 (bug 1513042) for Gtest failure
--HG--
extra : rebase_source : 6930ed8e1ea84af3a83f380279138d75ce2bde30
2018-12-12 02:13:45 +02:00
Bryce Van Dyk 74daa628bc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
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
2018-12-11 20:55:26 +00:00
Jean-Yves Avenard 590f06d6e0 Bug 1509875 - P1. Retrieve extended profile from mp4parse. r=kinetik
Depends on D13765

Differential Revision: https://phabricator.services.mozilla.com/D13766

--HG--
extra : moz-landing-system : lando
2018-12-05 16:54:21 +00:00
Jean-Yves Avenard fe16899ee1 Bug 1509875 - Cherry-pick mp4parse-rust commit 4472ec104e2b38e6379. r=padenot
Depends on D13755

Differential Revision: https://phabricator.services.mozilla.com/D13756

--HG--
extra : moz-landing-system : lando
2018-12-05 16:54:19 +00:00
Jean-Yves Avenard 2db366fbd9 Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216 r=bryce
temp fix, will do a full one once upstream change is merged

Differential Revision: https://phabricator.services.mozilla.com/D5198

--HG--
extra : moz-landing-system : lando
2018-09-07 14:17:06 +00:00
Thomas Daede 2868cd8be4 Bug 1417050: Add support for AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3365

--HG--
extra : moz-landing-system : lando
2018-08-20 23:56:39 +00:00
Jean-Yves Avenard caf8ead5fc Bug 1482841 - P1. Update mp4parse-rust to 643f48e137592e6318f6c780448374324908da31. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3261
2018-08-14 14:38:42 +02:00
Matthew Gregan c34ad7d35b Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 6e8cf15241b0282406322cce29220a677edd1585
2018-05-10 12:11:51 +12:00
Coroiu Cristina b11f8e3794 Backed out changeset b5fac38dc791 (bug 1457359) for build bustage on a CLOSED TREE 2018-05-11 04:17:18 +03:00
Matthew Gregan f5a2e9785e Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 299d9f8347d2f0ef0d66b9ea52a4ee7a31af0cd2
2018-05-10 12:11:51 +12:00
Jean-Yves Avenard bbd46b9784 Bug 1455701 - Update mp4parse-rust to upstream. r=padenot
MozReview-Commit-ID: AJXc5W4Rt0t

--HG--
extra : rebase_source : c15d6d1a3ec0564623252416cd1435da087401c0
2018-04-26 10:18:03 +02:00
Jean-Yves Avenard ccb5482936 Bug 1448762 - Update mp4parse-rust to 9e70cb4. r=padenot
MozReview-Commit-ID: 2RuByCeEEe5

--HG--
extra : rebase_source : 7233a91cffe16c2d89bbc1396dbfe1c834e2109b
2018-04-09 09:59:57 +02:00
Matthew Gregan 07c68b6af3 Bug 1446538 - Update mp4parse-rust to ded91a16. r=SimonSapin
Qualify calls to our FallibleVec trait to avoid clashes with new additions
to nightly libstd.

MozReview-Commit-ID: dNwuVIYJe

--HG--
extra : rebase_source : d9d64c18c89ec5f1ea0993045dd180239a63c210
2018-03-22 13:28:53 +13:00
Ralph Giles 62e62e57a2 Bug 1437351 - Update mp4parse to v0.10.0. r=kinetik
Import v0.10.0 of the mp4parse and mp4parse_capi crates
and update dependencies.

Reduces library size by removing debug tracing in release builds.
Also adds recognition of the ALAC codec, although we don't plan
to support it.

MozReview-Commit-ID: F1bnotCmbDf

--HG--
extra : rebase_source : 55bc014378d7f65fca8af82a9222edd36870b351
2018-02-13 16:58:43 -08:00
Ralph Giles 68efe6ba72 Bug 1437351 - Update mp4parse import script for v0.10.0. r=kinetik
Port our build patch and request the v0.10.0 tag by default.

MozReview-Commit-ID: 6TSCsgtZ8UT

--HG--
extra : rebase_source : 9fb1166c6545d4b8eddc8c64831c44c16163e537
2018-02-13 15:54:01 -08:00
Alfredo.Yang 7a29b0590c Bug 1426773 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 8GzXp7Oq9Wx

--HG--
extra : rebase_source : 251cdf64d067a11fb288b73ab822cfe9bbe4115b
2018-01-08 10:08:04 +08:00
Alfredo.Yang 3cf0d3b491 Bug 1423469 - update mp4 rust parser. r=kinetik
MozReview-Commit-ID: IMnqoNL2jay

--HG--
extra : rebase_source : 14bd23405f9dfdcbb8bae5a850439918aacec5e3
2018-01-05 11:11:06 +08:00
Matthew Gregan e88ffe59d1 Bug 1419627 - Update mp4parse-rust to cbindgen version. r=rillian
MozReview-Commit-ID: CJwg8isx8Jk

--HG--
extra : rebase_source : 74086f8e6a40f3a3d2e5f75407c06dfa03e6736d
2017-11-22 15:18:00 +13:00
Alfredo.Yang 818f7e1ab6 Bug 1417791 - correct the header path in rust parser updating script. r=kinetik
MozReview-Commit-ID: 5G3CgnVqqyx

--HG--
extra : rebase_source : d2da0a070637e50b8c1c8a2aa7facce305b4158c
2017-11-16 14:14:07 +08:00
Alfredo.Yang 20418e06c4 Bug 1417011 - move rust mp4 parser to media/mp4parse-rust. r=kinetik
MozReview-Commit-ID: 4Rcuv3UBoJV

--HG--
rename : media/libstagefright/binding/mp4parse-cargo.patch => media/mp4parse-rust/mp4parse-cargo.patch
rename : media/libstagefright/binding/include/mp4parse.h => media/mp4parse-rust/mp4parse.h
rename : media/libstagefright/binding/mp4parse/Cargo.toml => media/mp4parse-rust/mp4parse/Cargo.toml
rename : media/libstagefright/binding/mp4parse/src/boxes.rs => media/mp4parse-rust/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/src/lib.rs => media/mp4parse-rust/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/src/tests.rs => media/mp4parse-rust/mp4parse/src/tests.rs
rename : media/libstagefright/binding/mp4parse/tests/afl.rs => media/mp4parse-rust/mp4parse/tests/afl.rs
rename : media/libstagefright/binding/mp4parse/tests/bipbop-cenc-audioinit.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop-cenc-audioinit.mp4
rename : media/libstagefright/binding/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4
rename : media/libstagefright/binding/mp4parse/tests/minimal.mp4 => media/mp4parse-rust/mp4parse/tests/minimal.mp4
rename : media/libstagefright/binding/mp4parse/tests/public.rs => media/mp4parse-rust/mp4parse/tests/public.rs
rename : media/libstagefright/binding/mp4parse_capi/Cargo.toml => media/mp4parse-rust/mp4parse_capi/Cargo.toml
rename : media/libstagefright/binding/mp4parse_capi/build.rs => media/mp4parse-rust/mp4parse_capi/build.rs
rename : media/libstagefright/binding/mp4parse_capi/src/lib.rs => media/mp4parse-rust/mp4parse_capi/src/lib.rs
rename : media/libstagefright/binding/mp4parse_fallible/Cargo.toml => media/mp4parse-rust/mp4parse_fallible/Cargo.toml
rename : media/libstagefright/binding/mp4parse_fallible/README => media/mp4parse-rust/mp4parse_fallible/README
rename : media/libstagefright/binding/mp4parse_fallible/lib.rs => media/mp4parse-rust/mp4parse_fallible/lib.rs
rename : media/libstagefright/binding/update-rust.sh => media/mp4parse-rust/update-rust.sh
extra : rebase_source : 7a86c39e5338ddf7e81a767edfd3ed8d6d1f7577
2017-11-15 09:51:38 +08:00