WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310846
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-26 16:11:27 PDT
<
rdar://problem/173449051
>
Jean-Yves Avenard [:jya]
Comment 2
2026-03-26 16:30:25 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61450
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.
Top of Page
Format For Printing
XML
Clone This Bug