Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b56898b2f7201ab42276d6efbd8f6daf69c5f70
      
https://github.com/WebKit/WebKit/commit/3b56898b2f7201ab42276d6efbd8f6daf69c5f70
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

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

  Log Message:
  -----------
  [GStreamer] Hoist the codec name UTF-8 conversion out of the codec map scan
https://bugs.webkit.org/show_bug.cgi?id=324542

Reviewed by Philippe Normand.

GStreamerRegistryScanner::isCodecSupported() matches the requested codec against
every entry of the codec map with fnmatch(), and converted the codec name to
UTF-8 once per entry. The name does not change across the loop, so convert it
once before entering it.

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

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



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

Reply via email to