Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8c38ebd63c971d13906e3dbf83e5ddc4e21378b7
https://github.com/WebKit/WebKit/commit/8c38ebd63c971d13906e3dbf83e5ddc4e21378b7
Author: Philippe Normand <[email protected]>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h
M Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp
M Tools/TestWebKitAPI/glib/TestExpectations.json
Log Message:
-----------
REGRESSION(258663@main) [GStreamer] MIME API test crashes due to GStreamer
being initialized in UIProcess
https://bugs.webkit.org/show_bug.cgi?id=250480
Reviewed by Xabier Rodriguez-Calvar.
The registry no longer directly registers GStreamer elements. Instead it is
done from call-sites,
such as the WebRTC provider, when needed. Also the scanner is now able to
refresh its internal
state, this is needed in situations where the singleton might have been created
before the
registration of additional elements.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::registerVideoEncoder):
(WebCore::registerWebKitGStreamerElements):
(WebCore::registerWebKitGStreamerVideoEncoder):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::singletonNeedsInitialization):
(WebCore::GStreamerRegistryScanner::singleton):
(WebCore::GStreamerRegistryScanner::GStreamerRegistryScanner):
(WebCore::GStreamerRegistryScanner::refresh):
(WebCore::GStreamerRegistryScanner::initializeDecoders):
(WebCore::GStreamerRegistryScanner::initializeEncoders):
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h:
* Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp:
(WebCore::GStreamerWebRTCProvider::initializeVideoEncodingCapabilities):
* Tools/TestWebKitAPI/glib/TestExpectations.json:
Canonical link: https://commits.webkit.org/258848@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes