Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b6f626b07c7244eb38d9d52889a5defadd6cfe86
https://github.com/WebKit/WebKit/commit/b6f626b07c7244eb38d9d52889a5defadd6cfe86
Author: Philippe Normand <[email protected]>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
Log Message:
-----------
[GStreamer] UI process crash in MediaPlayerPrivateGStreamer::codecForStreamId
https://bugs.webkit.org/show_bug.cgi?id=259280
Reviewed by Xabier Rodriguez-Calvar.
Check the player WeakPtr is still valid before calling methods on it.
* Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp:
(WebCore::AudioTrackPrivateGStreamer::capsChanged):
* Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp:
(WebCore::VideoTrackPrivateGStreamer::capsChanged):
Canonical link: https://commits.webkit.org/266132@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes