Bug 310846

Summary: Unnecessary use of callOnMainRunLoopAndWait in MediaSourcePrivateAVFObjC::addSourceBuffer
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2026-03-26 16:11:20 PDT
It checks if the type is supported, but that check had already been performed by the MediaSource We also have the AudioVideoRenderer as a class member, no need to fetch it again from the MediaPlayer https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm#117-128
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-26 16:11:27 PDT
Jean-Yves Avenard [:jya]
Comment 2 2026-03-26 16:30:25 PDT
EWS
Comment 3 2026-03-27 02:40:50 PDT
Committed 310061@main (d8d7cb305a2c): <https://commits.webkit.org/310061@main> Reviewed commits have been landed. Closing PR #61450 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.