Title: [291259] trunk/Source/WebCore
- Revision
- 291259
- Author
- [email protected]
- Date
- 2022-03-14 18:40:14 -0700 (Mon, 14 Mar 2022)
Log Message
[macOS] Use sRGB colorspace in ScreenCaptureKitCaptureSource
https://bugs.webkit.org/show_bug.cgi?id=237855
<rdar://problem/90273792>
Reviewed by Jer Noble.
* platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:
(WebCore::ScreenCaptureKitCaptureSource::streamConfiguration): Configure
ScreenCaptureKit to capture in kCGColorSpaceSRGB.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (291258 => 291259)
--- trunk/Source/WebCore/ChangeLog 2022-03-15 00:45:00 UTC (rev 291258)
+++ trunk/Source/WebCore/ChangeLog 2022-03-15 01:40:14 UTC (rev 291259)
@@ -1,3 +1,15 @@
+2022-03-14 Eric Carlson <[email protected]>
+
+ [macOS] Use sRGB colorspace in ScreenCaptureKitCaptureSource
+ https://bugs.webkit.org/show_bug.cgi?id=237855
+ <rdar://problem/90273792>
+
+ Reviewed by Jer Noble.
+
+ * platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:
+ (WebCore::ScreenCaptureKitCaptureSource::streamConfiguration): Configure
+ ScreenCaptureKit to capture in kCGColorSpaceSRGB.
+
2022-03-14 Oriol Brufau <[email protected]>
Rename RenderStyle::textDecoration() to RenderStyle::textDecorationLine()
Modified: trunk/Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm (291258 => 291259)
--- trunk/Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm 2022-03-15 00:45:00 UTC (rev 291258)
+++ trunk/Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm 2022-03-15 01:40:14 UTC (rev 291259)
@@ -380,7 +380,7 @@
[m_streamConfiguration setPixelFormat:preferedPixelBufferFormat()];
[m_streamConfiguration setShowsCursor:YES];
[m_streamConfiguration setQueueDepth:6];
- [m_streamConfiguration setColorSpaceName:kCGColorSpaceLinearSRGB];
+ [m_streamConfiguration setColorSpaceName:kCGColorSpaceSRGB];
[m_streamConfiguration setColorMatrix:kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995];
if (m_frameRate) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes