Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69dc735207ba5e20e5cf261629579a115d0e5328
      
https://github.com/WebKit/WebKit/commit/69dc735207ba5e20e5cf261629579a115d0e5328
  Author: Philippe Normand <[email protected]>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.h
    M Source/WebCore/platform/graphics/gstreamer/GStreamerVideoSinkCommon.cpp
    M Source/WebCore/platform/graphics/gstreamer/GStreamerVideoSinkCommon.h

  Log Message:
  -----------
  [GStreamer][GL] Use a media player weak pointer in the video sink
https://bugs.webkit.org/show_bug.cgi?id=308740

Reviewed by Xabier Rodriguez-Calvar.

Get rid of the raw MediaPlayerPrivateGStreamer pointer in GObject signal 
handlers, hopefully
improving runtime safety.

* Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
(_WebKitGLVideoSinkPrivate::~_WebKitGLVideoSinkPrivate):
(webKitGLVideoSinkSetMediaPlayerPrivate):
* Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.h:
* Source/WebCore/platform/graphics/gstreamer/GStreamerVideoSinkCommon.cpp:
(WebKitVideoSinkProbe::WebKitVideoSinkProbe):
(WebKitVideoSinkProbe::handleFlushEvent):
(WebKitVideoSinkProbe::doProbe):
(MediaPlayerPrivateNotifier::MediaPlayerPrivateNotifier):
(MediaPlayerPrivateNotifier::destruct):
(webKitVideoSinkSetMediaPlayerPrivate):
(webKitVideoSinkDisconnectSignalHandlers):
* Source/WebCore/platform/graphics/gstreamer/GStreamerVideoSinkCommon.h:

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



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

Reply via email to