[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 02:17:47 PDT 2017


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

--- Comment #12 from Miguel Gomez <magomez at igalia.com> ---
Comment on attachment 311998
  --> https://bugs.webkit.org/attachment.cgi?id=311998
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=311998&action=review

> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:836
> +#if USE(GSTREAMER_GL) || USE(COORDINATED_GRAPHICS_THREADED)
> +    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) && USE(COORDINATED_GRAPHICS_THREADED)

-- 
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/b028e844/attachment-0001.html>


More information about the webkit-unassigned mailing list