[Webkit-unassigned] [Bug 170003] [GStreamer] Deadlock in MediaPlayerPrivateGStreamer::changePipelineState, web process often locks up on seeking in a youtube video that has already fully buffered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 5 03:12:17 PDT 2017


--- Comment #13 from Miguel Gomez <magomez at igalia.com> ---
(In reply to Miguel Gomez from comment #12)
> Comment on attachment 311998 [details]
> Patch
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=311998&action=review
> > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:836
> > +    m_drawTimer.stop();
> > +    LockHolder locker(m_drawMutex);
> > +    m_drawCondition.notifyOne();
> > +#endif
> This is not going to work when GSTREAMER_GL is enabled. In that case neither
> drawTimer nor drawMutex or drawCondition are used, as we just push the video
> frame to the compositor and don't stop the gstreamer thread until the
> drawing is finished.
> I would put this as #if !USE(GSTREAMER_GL) &&

Ah, forgot the case when GSTREAMER_GL is enabled and accelerated compositing disabled. In that case we do use the timer, mutex and condition. So we should keep the USE(GSTREAMER_GL) but check that the rendering is not being accelerated in the GSTREAMER_GL case.

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/20170605/c1bf6e6b/attachment.html>

More information about the webkit-unassigned mailing list