Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8d7cb305a2c7aaf5c63fac6e841d13c1abf828d
      
https://github.com/WebKit/WebKit/commit/d8d7cb305a2c7aaf5c63fac6e841d13c1abf828d
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

  Changed paths:
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm

  Log Message:
  -----------
  Unnecessary use of callOnMainRunLoopAndWait in 
MediaSourcePrivateAVFObjC::addSourceBuffer
https://bugs.webkit.org/show_bug.cgi?id=310846
rdar://173449051

Reviewed by Eric Carlson.

The MediaSource will check for support before calling 
MediaSourcePrivate::addSourceBuffer
so there's no need to check again. Additionally, attempting to create the 
SourceBufferPrivate
was all that was needed anyway.

Covered by existing tests.
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
(WebCore::MediaSourcePrivateAVFObjC::addSourceBuffer):

Canonical link: https://commits.webkit.org/310061@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to