Branch: refs/heads/webkitglib/2.50 Home: https://github.com/WebKit/WebKit Commit: 951c5c3b0b4078c35a1eb4e16df17ca6901cdc21 https://github.com/WebKit/WebKit/commit/951c5c3b0b4078c35a1eb4e16df17ca6901cdc21 Author: Philippe Normand <ph...@igalia.com> Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths: M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h M Source/WebCore/platform/graphics/gstreamer/VideoFrameMetadataGStreamer.cpp M Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.h M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.h M Source/WebCore/platform/mediastream/gstreamer/GStreamerIncomingTrackProcessor.cpp M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.h Log Message: ----------- Cherry-pick 299959@main (77738c8819ec). https://bugs.webkit.org/show_bug.cgi?id=298834 [GStreamer] Fix various mediastream and pad probe buffer leaks reported by the GStreamer leak tracer https://bugs.webkit.org/show_bug.cgi?id=298834 Reviewed by Xabier Rodriguez-Calvar. The most important leaks were in the buffer pad probes that modify buffers, the previous ones were not un-reffed. The other leaks were about the pipewire device manager and several other GStreamer objects not cleared before gst_deinit() was called. Driving-by in the video capturer modify existing caps instead of doing copies. * Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp: (gst_pad_probe_info_set_buffer): * Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h: * Source/WebCore/platform/graphics/gstreamer/VideoFrameMetadataGStreamer.cpp: (videoFrameMetadataGetInfo): (webkitGstTraceProcessingTimeForElement): * Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.h: * Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp: (WebCore::GStreamerCapturer::~GStreamerCapturer): (WebCore::GStreamerCapturer::tearDown): (WebCore::GStreamerCapturer::createSource): * Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.h: * Source/WebCore/platform/mediastream/gstreamer/GStreamerIncomingTrackProcessor.cpp: (WebCore::GStreamerIncomingTrackProcessor::installRtpBufferPadProbe): * Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp: (WebCore::GStreamerVideoCapturer::tearDown): (WebCore::GStreamerVideoCapturer::setSize): (WebCore::GStreamerVideoCapturer::setFrameRate): * Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.h: Canonical link: https://commits.webkit.org/299959@main Canonical link: https://commits.webkit.org/298234.135@webkitglib/2.50 To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes