Bug 254199 - [MSE] SourceBufferPrivate::updateBufferedFromTrackBuffers shouldn't be a synchronous call
Summary: [MSE] SourceBufferPrivate::updateBufferedFromTrackBuffers shouldn't be a sync...
Status: RESOLVED DUPLICATE of bug 257057
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-20 22:48 PDT by Jean-Yves Avenard [:jya]
Modified: 2023-11-17 22:17 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***