[Webkit-unassigned] [Bug 185592] [MSE][GStreamer] Before deleting the stream from WebKitMediaSource we should unlink its elements and flush the appsrc.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 17 02:55:08 PDT 2018


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

--- Comment #13 from Alicia Boya GarcĂ­a <aboya at igalia.com> ---
Unlinking elements is not necessary, the links are removed automatically when they are removed from the bin.

Flushing *before* unlinking will clear the stream and allow the source element to reach NULL state. That will avoid the deadlock.

But on the other hand, what is the motivation for this? Note that you are removing the appsrc and parser, but all other elements downstream (including decoders and sinks) remain. Even if you removed the ghostpads from WebKitMediaSrc, uridecodebin does not listen for that, so it won't help either. uridecodebin is just not designed to handle appearing and reappearing streams.

-- 
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/20180517/143413e2/attachment.html>


More information about the webkit-unassigned mailing list