[webkit-changes] [WebKit/WebKit] 54140a: [GStreamer][WebCodecs][Debug] Assertions due to in...
Philippe Normand
noreply at github.com
Mon Nov 13 03:06:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 54140a7b23efcb75955d08e7e7882371d1af3d99
https://github.com/WebKit/WebKit/commit/54140a7b23efcb75955d08e7e7882371d1af3d99
Author: Philippe Normand <philn at igalia.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp
Log Message:
-----------
[GStreamer][WebCodecs][Debug] Assertions due to incorrect usage of WeakPtr
https://bugs.webkit.org/show_bug.cgi?id=264704
Reviewed by Xabier Rodriguez-Calvar.
Adapt audio/video encoders to rely on ThreadSafeWeakPtr, that can be used from non-main threads.
* Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp:
(WebCore::GStreamerAudioEncoder::encode):
(WebCore::GStreamerInternalAudioEncoder::GStreamerInternalAudioEncoder):
* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp:
(WebCore::GStreamerVideoEncoder::encode):
(WebCore::GStreamerInternalVideoEncoder::GStreamerInternalVideoEncoder):
Canonical link: https://commits.webkit.org/270632@main
More information about the webkit-changes
mailing list