Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d438a89c9c8bf0f021fabe4cb953656f3f8a431
https://github.com/WebKit/WebKit/commit/5d438a89c9c8bf0f021fabe4cb953656f3f8a431
Author: David Kilzer <[email protected]>
Date: 2026-07-13 (Mon, 13 Jul 2026)
Changed paths:
M Source/WebCore/PAL/pal/spi/cf/CoreVideoSPI.h
M Source/WebCore/platform/mediastream/cocoa/AVVideoCaptureSource.mm
Log Message:
-----------
AVVideoCaptureSource should skip packed-Bayer ProRes RAW formats when
generating capture presets
<https://bugs.webkit.org/show_bug.cgi?id=319249>
<rdar://161777392>
Reviewed by Eric Carlson and Youenn Fablet.
Skip packed-Bayer ProRes RAW formats when generating presets before
the resolution de-duplication since they are not currently supported.
* Source/WebCore/PAL/pal/spi/cf/CoreVideoSPI.h:
- Declare kCVPixelFormatType_96BayerPacked12_BGGR for public-SDK builds.
* Source/WebCore/platform/mediastream/cocoa/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::commitConfiguration):
- Wrap -commitConfiguration in @try/@catch so a commit-time
exception is logged instead of aborting the GPU process.
(WebCore::AVVideoCaptureSource::generatePresets):
- Ignore the packed-Bayer ProRes RAW formats.
Canonical link: https://commits.webkit.org/317085@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications