[webkit-changes] [WebKit/WebKit] 671b61: [Cocoa] Adopt -[AVSampleBufferDisplayLayer readyFo...
aestes
noreply at github.com
Sat Nov 4 13:56:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 671b617204168b3bf56af516619247c42e637bb3
https://github.com/WebKit/WebKit/commit/671b617204168b3bf56af516619247c42e637bb3
Author: Andy Estes <aestes at apple.com>
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
More information about the webkit-changes
mailing list