Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a127f8f44e5dedaf3a72c9e7f91c4e1e91d50c9b https://github.com/WebKit/WebKit/commit/a127f8f44e5dedaf3a72c9e7f91c4e1e91d50c9b Author: Vivienne Watermeier <vwaterme...@igalia.com> Date: 2024-11-19 (Tue, 19 Nov 2024)
Changed paths: M Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp Log Message: ----------- [GStreamer] Fix hang in webaudio https://bugs.webkit.org/show_bug.cgi?id=283357 Reviewed by Philippe Normand. During a PAUSED_TO_READY state change, there is a race condition between webKitWebAudioSrcRenderAndPushFrames setting dispatchDone true, and the state change resetting it to false, so that the renderer thread will block on dispatchCondition. To fix this, the state transition no longer sets dispatchDone to false, which is already done on every renderer thread entry. Original author: Marcin Mielczarczyk <marcin.mielczarc...@redembedded.com> See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1426 * Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp: (webKitWebAudioSrcChangeState): Canonical link: https://commits.webkit.org/286797@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes