Rework IsConfigSupported for h265
Categories
(Core :: Audio/Video: Web Codecs, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D183925
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D183926
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
This patch adds a new function to parse H265 info.
Most of the code is borrowed from chromium [1] and checked with the H265
spec [2].
[1] https://source.chromium.org/chromium/chromium/src/+/main:media/base/video_codecs.cc;l=734;drc=caae8720b6a98875e237ab2f9be2a95d34f93caf
[2] https://www.itu.int/rec/T-REC-H.265
Depends on D183927
| Assignee | ||
Comment 5•3 years ago
|
||
This patches allows VideoDecoder to validate a H265 string. However,
since we don't support H265 in our decode pipeline yet, decoding the
h265 video will yeild an error.
The difference with the patch is that the IsConfigSupported now resolves
the promise with an codec-unsupported message instead of throwing a
TypeError saying this codec is invalid.
Depends on D184052
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/51d73caa4afd
https://hg.mozilla.org/mozilla-central/rev/698f13a71041
https://hg.mozilla.org/mozilla-central/rev/c735fa0ce643
https://hg.mozilla.org/mozilla-central/rev/6ff04682013b
https://hg.mozilla.org/mozilla-central/rev/e25889ce01c8
Description
•