Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8f13fa2a6a8234cfa18b8566487cac4d4d2f9fe
https://github.com/WebKit/WebKit/commit/e8f13fa2a6a8234cfa18b8566487cac4d4d2f9fe
Author: Philippe Normand <[email protected]>
Date: 2024-12-05 (Thu, 05 Dec 2024)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp
Log Message:
-----------
[GStreamer][WebCodecs] Fix racy WorkQueues construction issues
https://bugs.webkit.org/show_bug.cgi?id=284098
Reviewed by Jean-Yves Avenard.
In case WebCodecs are used from Workers the WorkQueue creation was prone to
race conditions. Fix
this by building them from a once_flag handler.
* Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp:
(WebCore::gstDecoderWorkQueue):
* Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp:
(WebCore::gstEncoderWorkQueue):
* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::gstDecoderWorkQueue):
* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp:
(WebCore::gstEncoderWorkQueue):
Canonical link: https://commits.webkit.org/287394@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes