-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
5 changed files
with
90 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters