[webkit-changes] [WebKit/WebKit] 154800: [GStreamer] Expose API for element lookup based on...

Philippe Normand noreply at github.com
Mon Jan 23 05:05:38 PST 2023


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

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

  Log Message:
  -----------
  [GStreamer] Expose API for element lookup based on input caps
https://bugs.webkit.org/show_bug.cgi?id=250933

Reviewed by Xabier Rodriguez-Calvar.

We have API for this already but it expects the caps as a parseable string, so that was refactored
to also accept an already parsed GstCaps.

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

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




More information about the webkit-changes mailing list