[Webkit-unassigned] [Bug 272975] [MSE][GStreamer] Early flushes may deadlock WebkitMediaSrc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 19 07:12:38 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272975

--- Comment #3 from Carlos Bentzen <cadubentzen at igalia.com> ---
Continuing... 

2. For media/media-source/media-source-current-time.html, the case above happens, but also the second level of racing: sending a FLUSH_START after all STREAM_START's have been handled, but before playsink has caps for the streams on its pads.

In this case, I don't fully understand it yet, but essentially the pipeline will reject buffers returning flushing indefinitely, even though FLUSH_START and FLUSH_STOP are sent.

Added another synchronization point for, if we have received all STREAM_START's, to only flush after playsink has all the caps. Achieved that by connecting to the "notify::caps" signal on the playsink pads. Again, very ugly but it worked as well.

-- 
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/20240419/dd1321b1/attachment.htm>


More information about the webkit-unassigned mailing list