[webkit-changes] [WebKit/WebKit] 0a23f2: [GStreamer] Reduce raw pointers usage in capturer ...
Philippe Normand
noreply at github.com
Thu Jan 9 01:13:53 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0a23f2de572d121e7148b7093b48e472c6e40f41
https://github.com/WebKit/WebKit/commit/0a23f2de572d121e7148b7093b48e472c6e40f41
Author: Philippe Normand <philn at igalia.com>
Date: 2025-01-09 (Thu, 09 Jan 2025)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp
M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.h
Log Message:
-----------
[GStreamer] Reduce raw pointers usage in capturer caps event handler
https://bugs.webkit.org/show_bug.cgi?id=285334
Reviewed by Xabier Rodriguez-Calvar.
Use a capturer weak pointer from the event handler and also keep a reference to the event in the
main thread hop.
* Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp:
(WebCore::GStreamerCapturer::createSource):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.h:
Canonical link: https://commits.webkit.org/288644@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