Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88490723d9f2f103fe27ba5d9db6509a85497bd9
      
https://github.com/WebKit/WebKit/commit/88490723d9f2f103fe27ba5d9db6509a85497bd9
  Author: Philippe Normand <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp

  Log Message:
  -----------
  [GStreamer] fast/mediastream/MediaStream-removeTrack-while-playing.html 
crashes on the bots
https://bugs.webkit.org/show_bug.cgi?id=302854

Reviewed by Xabier Rodriguez-Calvar.

Ensure the WebKitMediaStreamObserver keeps a weak GRef pointer to the 
GstElement it needs to use.
Using a raw pointer gave no insurance of lifetime validity.

* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
(WebKitMediaStreamObserver::WebKitMediaStreamObserver):
(WebKitMediaStreamObserver::activeStatusChanged):
(WebKitMediaStreamObserver::didRemoveTrack):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to