[Webkit-unassigned] [Bug 228825] New: [MSE][GStreamer] Update tracks synchronously

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 5 06:53:30 PDT 2021


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

            Bug ID: 228825
           Summary: [MSE][GStreamer] Update tracks synchronously
           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

A mistake introduced with the WebKitMediaSrc v2 patch made the call to
updateTracks() in MediaPlayerPrivateGStreamer asynchronous.

This introduced a subtle race condition in which the "resize" event
may be handled before updateTracks() is called, therefore m_hasVideo
has not yet been set to true, and querying the video size from the
"resize" event handler returns 0x0.

This fixes a timeout flake in media/media-source/media-source-resize.html.

-- 
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/20210805/56aa0038/attachment-0001.htm>


More information about the webkit-unassigned mailing list