Bug 254199

Summary: [MSE] SourceBufferPrivate::updateBufferedFromTrackBuffers shouldn't be a synchronous call
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=254136

Description Jean-Yves Avenard [:jya] 2023-03-20 22:48:11 PDT
When the readyState change, SourceBuffer calls SourcebufferPrivate::updateBufferedFromTrackBuffers

Which if we have a media running in the GPU process is a sync dispatch.

It shouldn't be and it isn't necessary as the SourceBuffer following bug 254136 and bug 253560 always keep an up to date version of the buffered range.
So there's never a need for the SourceBuffer to request an updated buffered range from the SourceBufferPrivate
Comment 1 Radar WebKit Bug Importer 2023-03-20 22:48:32 PDT
<rdar://problem/106979622>
Comment 2 Jean-Yves Avenard [:jya] 2023-11-17 22:17:25 PST
fixed by bug 257057

*** This bug has been marked as a duplicate of bug 257057 ***