Commit 5729f3c
[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.mielczarczyk@redembedded.com>
See: #1426
* Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcChangeState):
Canonical link: https://commits.webkit.org/286797@main1 parent 5e48365 commit 5729f3c
1 file changed
Lines changed: 0 additions & 1 deletion
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | 452 | | |
454 | 453 | | |
455 | 454 | | |
| |||
0 commit comments