[Webkit-unassigned] [Bug 260067] [MSE][GStreamer] Deadlock while flushing on paused when there's a non in-place transform element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 11 05:37:53 PDT 2023


--- Comment #1 from Enrique Ocaña <eocanha at igalia.com> ---
My proposal for this is to make webKitMediaSrcLoop() release the lock before pushing the caps event (which may take a long time to get processed) to let the main thread start the flush. Such a flush would cause the sink element to release the streaming thread and the caps event processing to finish.

After the caps event has been pushed, the lock would be retaken. But streamingMembers might have changed under our feet (and it certainly will, because of the flush). We should reevaluate if the flush condition is present, and in that case abort the execution of webKitMediaSrcLoop() after having paused the streaming task of the corresponding pad.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230811/02d248fc/attachment.htm>

More information about the webkit-unassigned mailing list