Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 818599ce23c9c1f4717502cff1437b4e06ffaf9b
      
https://github.com/WebKit/WebKit/commit/818599ce23c9c1f4717502cff1437b4e06ffaf9b
  Author: Alicia Boya Garcia <[email protected]>
  Date:   2026-05-18 (Mon, 18 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp

  Log Message:
  -----------
  [GStreamer] Auto-detect USAC support via GStreamer registry
https://bugs.webkit.org/show_bug.cgi?id=314328

Reviewed by Xabier Rodriguez-Calvar.

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)

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::initializeDecoders):

Canonical link: https://commits.webkit.org/313407@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to