Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3ba18ed2f68f5085f83e1cfedfbbcec2f9ab805
      
https://github.com/WebKit/WebKit/commit/e3ba18ed2f68f5085f83e1cfedfbbcec2f9ab805
  Author: Philippe Normand <[email protected]>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

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

  Log Message:
  -----------
  [GStreamer] Allow RegistryScanner call sites to use the selected element 
factory
https://bugs.webkit.org/show_bug.cgi?id=248147

Reviewed by Xabier Rodriguez-Calvar.

When a candidate GstElementFactory has been selected by the scanner, it can now 
be used to create a
GstElement matching the capabilies that were probed. This can be useful in 
cases where a higher
level bin such as decodebin or encodebin is not desired and we only need direct 
access to the
element.

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::ElementFactories::hasElementForMediaType 
const):
(WebCore::GStreamerRegistryScanner::fillMimeTypeSetFromCapsMapping):
(WebCore::GStreamerRegistryScanner::initializeDecoders):
(WebCore::GStreamerRegistryScanner::initializeEncoders):
(WebCore::GStreamerRegistryScanner::isCodecSupported const):
(WebCore::GStreamerRegistryScanner::isAVC1CodecSupported const):
(WebCore::GStreamerRegistryScanner::isConfigurationSupported const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h:
(WebCore::GStreamerRegistryScanner::RegistryLookupResult::merge):
(WebCore::GStreamerRegistryScanner::CodecLookupResult::CodecLookupResult):
(WebCore::GStreamerRegistryScanner::CodecLookupResult::operator bool const):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to