[webkit-changes] [WebKit/WebKit] 0cf4ab: [GStreamer] Fix 1.25 deprecation warnings
Philippe Normand
noreply at github.com
Tue Oct 15 03:06:05 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0cf4ab0811eda6c4d160306142bf7b1d81d076f4
https://github.com/WebKit/WebKit/commit/0cf4ab0811eda6c4d160306142bf7b1d81d076f4
Author: Philippe Normand <philn at igalia.com>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
M Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp
M Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingVideoSourceGStreamer.cpp
Log Message:
-----------
[GStreamer] Fix 1.25 deprecation warnings
https://bugs.webkit.org/show_bug.cgi?id=281321
Reviewed by Xabier Rodriguez-Calvar.
The GQuark-based GStreamer APIs are going to be deprecated in GStreamer 1.26, in favor of the
GstIdStr-based APIs, so introduce wrapper functions handling both cases in GStreamerCommon.
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::preprocessStats):
(WebCore::GStreamerMediaEndpoint::onStatsDelivered):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp:
(WebCore::fillReportCallback):
(WebCore::GStreamerStatsCollector::getStats):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp:
(WebCore::capsFromSDPMedia):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::gstStructureToJSON):
(WebCore::gstStructureForeach):
(WebCore::gstStructureIdSetValue):
(WebCore::gstStructureMapInPlace):
(WebCore::gstIdToString):
(WebCore::gstStructureFilterAndMapInPlace):
(WebCore::parseGstStructureValue): Deleted.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
* Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(webKitWebSrcSetExtraHeader):
(webKitWebSrcMakeRequest):
(webKitWebSrcProcessExtraHeaders): Deleted.
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::MermaidBuilder::describeCaps):
* Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingVideoSourceGStreamer.cpp:
(WebCore::RealtimeIncomingVideoSourceGStreamer::stats):
Canonical link: https://commits.webkit.org/285186@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