Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53867c15edf342ba2ba13be830c6dbe04e44acc9
https://github.com/WebKit/WebKit/commit/53867c15edf342ba2ba13be830c6dbe04e44acc9
Author: Youenn Fablet <[email protected]>
Date: 2023-10-03 (Tue, 03 Oct 2023)
Changed paths:
M
Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm
Log Message:
-----------
setSampleBufferAsDisplayImmediately should check that attachment array is not
null
https://bugs.webkit.org/show_bug.cgi?id=262556
rdar://115712997
Reviewed by Brent Fulgham.
CMSampleBufferGetSampleAttachmentsArray may return a null attachment array even
if createIfNecessary = true, in case of error.
In that case, make sure setSampleBufferAsDisplayImmediately bails out early.
*
Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm:
(WebCore::setSampleBufferAsDisplayImmediately):
Canonical link: https://commits.webkit.org/268802@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes