Closed
Bug 1320026
Opened 8 years ago
Closed 8 years ago
Support 'tenc' box for rust mp4 parser
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: ayang, Assigned: ayang)
References
Details
Attachments
(1 file)
It is required for eme function [1].
[1] http://searchfox.org/mozilla-central/rev/feef954874af9a18168e61a75629a9406b847c53/media/libstagefright/binding/DecoderData.cpp#122
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ayang
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8817959 [details]
Bug 1320026 - support crypto info in rust mp4 parser.
https://reviewboard.mozilla.org/r/98144/#review98478
::: media/libstagefright/binding/DecoderData.cpp:197
(Diff revision 1)
> #ifdef MOZ_RUST_MP4PARSE
> +static void
> +UpdateTrackProtectedInfo(mozilla::TrackInfo& aConfig,
> + const mp4parser_sinf_info& aSinf)
> +{
> + if (!!aSinf.is_encrypted) {
!= 0 is clearer in this case, I think
::: media/libstagefright/binding/MP4Metadata.cpp:307
(Diff revision 1)
> MOZ_DIAGNOSTIC_ASSERT(audioRust->mRate == audio->mRate);
> MOZ_DIAGNOSTIC_ASSERT(audioRust->mChannels == audio->mChannels);
> MOZ_DIAGNOSTIC_ASSERT(audioRust->mBitDepth == audio->mBitDepth);
> // TODO: These fields aren't implemented in the Rust demuxer yet.
> //MOZ_DIAGNOSTIC_ASSERT(audioRust->mProfile != audio->mProfile);
> - //MOZ_DIAGNOSTIC_ASSERT(audioRust->mExtendedProfile != audio->mExtendedProfile);
> + MOZ_DIAGNOSTIC_ASSERT(audioRust->mExtendedProfile != audio->mExtendedProfile);
Oops, this should be ==, please fix the commented bit above too
Attachment #8817959 -
Flags: review?(kinetik) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•8 years ago
|
||
this also needs this PR.
https://github.com/mozilla/mp4parse-rust/pull/49
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by ayang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3664eb1f7737
support crypto info in rust mp4 parser. r=kinetik
Comment 9•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•