[webkit-changes] [WebKit/WebKit] cf8be6: [Cocoa] Remove SPI declarations for AVSampleBuffer...

aestes noreply at github.com
Sun Aug 20 18:03:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf8be6182eeb9ce658a297ec607a5c2b6b065bc7
      https://github.com/WebKit/WebKit/commit/cf8be6182eeb9ce658a297ec607a5c2b6b065bc7
  Author: Andy Estes <aestes at apple.com>
  Date:   2023-08-20 (Sun, 20 Aug 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
    M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
    M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.h
    M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm

  Log Message:
  -----------
  [Cocoa] Remove SPI declarations for AVSampleBufferRenderSynchronizer
https://bugs.webkit.org/show_bug.cgi?id=260449
rdar://112164268

Reviewed by Eric Carlson.

WebKit can exclusively use API from AVSampleBufferRenderSynchronizer so there is no need for SPI
declarations. Removed the relevant declarations from AVFoundationSPI.h and called
-removeRenderer:atTime:completionHandler: instead of -removeRenderer:atTime:withCompletionHandler:
to match the API declaration.

* Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h:
* Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::destroyLayer):
* Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.h:
* Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm:
(WebCore::MediaPlayerPrivateWebM::destroyLayer):
(WebCore::MediaPlayerPrivateWebM::destroyAudioRenderer):

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




More information about the webkit-changes mailing list