RESOLVED FIXED310846
Unnecessary use of callOnMainRunLoopAndWait in MediaSourcePrivateAVFObjC::addSourceBuffer
https://bugs.webkit.org/show_bug.cgi?id=310846
Summary Unnecessary use of callOnMainRunLoopAndWait in MediaSourcePrivateAVFObjC::add...
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.