[webkit-changes] [WebKit/WebKit] 776ff1: [GStreamer] Misc fixes in video encoder/decoder pr...

Philippe Normand noreply at github.com
Mon Jan 9 04:23:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 776ff1f8adf9ca581583d87985417cf231a3450c
      https://github.com/WebKit/WebKit/commit/776ff1f8adf9ca581583d87985417cf231a3450c
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

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

  Log Message:
  -----------
  [GStreamer] Misc fixes in video encoder/decoder probing support
https://bugs.webkit.org/show_bug.cgi?id=249995

Reviewed by Xabier Rodriguez-Calvar.

When multiple elements were able to support the given format only the first matching element factory
was stored in the lookup result. We also now ignore the vpxalphadecodebin wrapper elements when
probing vpx decoding capabilities. Those elements are meant to be used by decodebin and won't
negotiate input non-alpha caps.

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

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




More information about the webkit-changes mailing list