[Webkit-unassigned] [Bug 244534] New: [GStreamer] MediaPlayerPrivateGStreamer: Abort stale tasks on flushes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 30 06:38:56 PDT 2022


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

            Bug ID: 244534
           Summary: [GStreamer] MediaPlayerPrivateGStreamer: Abort stale
                    tasks on flushes
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: bugs-noreply at webkitgtk.org

This patch is a combination of a follow-up of
https://github.com/WebKit/WebKit/pull/3746, and a fix for a race
condition I independently discovered before said PR was published.

Minor cleanups for pr/3746 are done, additional logging is added,
MediaPlayerPrivateGStreamer::m_abortableTaskQueue is renamed to
MediaPlayerPrivateGStreamer::m_sinkTaskQueue, comments are added, and
most importantly: the task queue is flushed when a GStreamer flush is
received. This fixes a race condition on MSE flushes.

-- 
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/20220830/0fa2fd07/attachment.htm>


More information about the webkit-unassigned mailing list