Commit 8944013
committed
GStreamerRegistryScanner: Auto-detect USAC support via GStreamer registry
Add a fallback 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.1 parent b8dd887 commit 8944013
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
502 | 506 | | |
503 | 507 | | |
504 | 508 | | |
| |||
0 commit comments