[webkit-changes] [WebKit/WebKit] 8cf851: [GStreamer][WebCodecs] Prevent usage of vavp9alpha...

Philippe Normand noreply at github.com
Mon Feb 17 12:58:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8cf851fede8500426e7757101dcacadaff10b7ac
      https://github.com/WebKit/WebKit/commit/8cf851fede8500426e7757101dcacadaff10b7ac
  Author: Philippe Normand <philn at igalia.com>
  Date:   2025-02-17 (Mon, 17 Feb 2025)

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

  Log Message:
  -----------
  [GStreamer][WebCodecs] Prevent usage of vavp9alphadecodebin
https://bugs.webkit.org/show_bug.cgi?id=287769

Reviewed by Xabier Rodriguez-Calvar.

This decoder is not usable for WebCodecs. In the registry scanner filtering had to be moved to the
findCompatibleFactories function because otherwise the vavp9alphadecodebin, which has the Hardware
classifier, would still be selected in the shouldCheckHardwareClassifier ==
CheckHardwareClassifier::Yes path.

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::findCompatibleFactories):
(WebCore::GStreamerRegistryScanner::ElementFactories::hasElementForCaps const):
(WebCore::GStreamerRegistryScanner::initializeDecoders):

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



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


More information about the webkit-changes mailing list