Closed Bug 2047467 Opened 1 month ago Closed 1 month ago

Update vendored mp4parse-rust to b693c7e4a91d

Categories

(Core :: Audio/Video: Playback, task)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
relnote-firefox --- 152+
firefox152 --- fixed
firefox153 --- fixed
firefox154 --- fixed

People

(Reporter: kinetik, Assigned: kinetik)

References

Details

(Keywords: webcompat:platform-bug)

User Story

user-impact-score:960

Attachments

(3 files)

Bump the vendored mp4parse-rust revision in toolkit/library/rust/shared/Cargo.toml from 3d36cb1c1211 to c04924469873 (current mozilla/mp4parse-rust master), via mach vendor rust. This pulls in three upstream commits:

  • ac4ed53f980f "Fix esds DSI parsing for truncated and duplicate DecSpecificInfo" -- fix for bug 2011644.
  • 73423e14f24c "Tolerate nclx colr boxes missing the full_range_flag byte" -- fix for bug 2047239.
  • c04924469873 "Make duplicate colr detection per colour_type in video sample entries".
Attachment #9597278 - Attachment description: Bug 2047467 - Update mp4parse-rust to c04924469873. r?#media-playback-reviewers → Bug 2047467 - Update mp4parse-rust to b693c7e4a91d. r?#media-playback-reviewers
Summary: Update vendored mp4parse-rust to c04924469873 → Update vendored mp4parse-rust to b693c7e4a91d
User Story: (updated)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

Can we uplift this to Beta and Release?

Flags: needinfo?(kinetik)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Fixes a regression that broke MP4 media playback for files containing invalid colr boxes.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simple fix, relaxing the strictness of colr box parsing to accept common "invalid" (per spec) variants that other MP4 parsers accept.
  • String changes made/needed?: N/A
  • Is Android affected?: yes
Attachment #9598569 - Flags: approval-mozilla-beta?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Fixes a regression that broke MP4 media playback for files containing invalid colr boxes.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simple fix, relaxing the strictness of colr box parsing to accept common "invalid" (per spec) variants that other MP4 parsers accept.
  • String changes made/needed?: N/A
  • Is Android affected?: yes
Attachment #9598570 - Flags: approval-mozilla-release?

Backport to release: updates vendored mp4parse-rust from fb7ed9ef straight to
b693c7e4. Because release was two revs behind, this necessarily bundles upstream
PR 450 (Bug 2044320 - r=media-playback-reviewers,kinetik) in addition to the
2047467 change. The resulting third_party/rust/mp4parse tree is byte-identical
to the trunk landing.

Original Revision: https://phabricator.services.mozilla.com/D306670

Flags: needinfo?(kinetik)
Attachment #9598569 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9598570 - Flags: approval-mozilla-release? → approval-mozilla-release+

Added to the 152.0.2 relnotes.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: