Closed
Bug 1378607
Opened 7 years ago
Closed 7 years ago
Return unknown codec instead of error
Categories
(Core :: Audio/Video: Playback, enhancement)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: ayang, Assigned: ayang)
References
Details
Attachments
(2 files)
In mp4 rust parser, it uses to return an error when parsing unknown box in audio_sample_entry and video_sample_entry. We should reutrn CodecType::Unknown and SampleEntry::Unknown. So we can get rid of bugs like bug 1372838 and bug 1374194.
Assignee | ||
Comment 1•7 years ago
|
||
https://github.com/mozilla/mp4parse-rust/pull/101
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8883811 [details] Bug 1378607 - skip unknown codec type. https://reviewboard.mozilla.org/r/154766/#review160088 Does it make sense to circle back and remove AC3/EAC3/JPEG and any others we added before taking this approach?
Attachment #8883811 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Matthew Gregan [:kinetik] from comment #3) > Comment on attachment 8883811 [details] > Bug 1378607 - skip unknown codec type. > > https://reviewboard.mozilla.org/r/154766/#review160088 > > Does it make sense to circle back and remove AC3/EAC3/JPEG and any others we > added before taking this approach? Yes, I'm thinking to remove the codes in mp4parse_cap, so it returns unknown codecs for ac3/ec3/jpeg in mp4parse_get_track_info(). I'll file another bug for this.
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8884144 [details] Bug 1378607 - update rust mp4 parser. https://reviewboard.mozilla.org/r/155066/#review160124
Attachment #8884144 -
Flags: review?(kinetik) → review+
Pushed by ayang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/22cec1837059 skip unknown codec type. r=kinetik https://hg.mozilla.org/integration/autoland/rev/bed1180449df update rust mp4 parser. r=kinetik
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/22cec1837059 https://hg.mozilla.org/mozilla-central/rev/bed1180449df
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•