Bug 314328
| Summary: | [GStreamer] Auto-detect USAC support via GStreamer registry | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alicia Boya García <aboya> |
| Component: | WebKitGTK | Assignee: | Alicia Boya García <aboya> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Alicia Boya García
Add a check for USAC (xHE-AAC) codec support by probing
the GStreamer registry for a decoder matching
"audio/mpeg, mpegversion=(int)4, stream-format=(string)usac".
The stream-format=usac caps field is not part of the standard GStreamer
audio/mpeg caps definition, but some custom audio sinks advertise it, so it can
be used as an indicator of USAC decoding capability.
The WEBKIT_GST_CAN_PLAY_USAC environment variable still takes
precedence as a manual override.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1654
Original author: Andrzej Surdej (https://github.com/asurdej-comcast)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alicia Boya García
Pull request: https://github.com/WebKit/WebKit/pull/64475
EWS
Committed 313407@main (818599ce23c9): <https://commits.webkit.org/313407@main>
Reviewed commits have been landed. Closing PR #64475 and removing active labels.