Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 54140a7b23efcb75955d08e7e7882371d1af3d99
https://github.com/WebKit/WebKit/commit/54140a7b23efcb75955d08e7e7882371d1af3d99
Author: Philippe Normand <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes