Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 671b617204168b3bf56af516619247c42e637bb3
      
https://github.com/WebKit/WebKit/commit/671b617204168b3bf56af516619247c42e637bb3
  Author: Andy Estes <[email protected]>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M Source/WTF/wtf/RetainPtr.h
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
    M 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm

  Log Message:
  -----------
  [Cocoa] Adopt -[AVSampleBufferDisplayLayer readyForDisplay]
https://bugs.webkit.org/show_bug.cgi?id=264197
rdar://114112149

Reviewed by Eric Carlson.

Adopted -[AVSampleBufferDisplayLayer readyForDisplay] where available as a 
replacement for
-[AVSampleBufferDisplayLayer prerollDecodeWithCompletionHandler:]. While here, 
made
dynamic_objc_cast friendly to soft-linking.

* Source/WTF/wtf/RetainPtr.h:
(WTF::dynamic_objc_cast):
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm:
* 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(-[WebAVSampleBufferErrorListener beginObservingLayer:]):
(-[WebAVSampleBufferErrorListener stopObservingLayer:]):
(-[WebAVSampleBufferErrorListener layerReadyForDisplayChanged:]):
(WebCore::SourceBufferPrivateAVFObjC::layerReadyForDisplayChanged):
(WebCore::SourceBufferPrivateAVFObjC::enqueueSample):
(WebCore::SourceBufferPrivateAVFObjC::enqueueSampleBuffer):
(WebCore::SourceBufferPrivateAVFObjC::bufferWasConsumed): Deleted.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to