Title: [290311] trunk/Source/WebCore
- Revision
- 290311
- Author
- [email protected]
- Date
- 2022-02-22 09:11:49 -0800 (Tue, 22 Feb 2022)
Log Message
[Cocoa] Partial rollout of r289946, broke Netflix
https://bugs.webkit.org/show_bug.cgi?id=237019
<rdar://89261425>
Reviewed by Eric Carlson.
Adopting AVContentKeySupport for AVSampleBufferDisplayLayer broke Netflix playback on Cocoa
ports. Disable that support by hard coding sampleBufferRenderersSupportKeySession() to
return false.
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(WebCore::sampleBufferRenderersSupportKeySession):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (290310 => 290311)
--- trunk/Source/WebCore/ChangeLog 2022-02-22 17:07:50 UTC (rev 290310)
+++ trunk/Source/WebCore/ChangeLog 2022-02-22 17:11:49 UTC (rev 290311)
@@ -1,3 +1,18 @@
+2022-02-22 Jer Noble <[email protected]>
+
+ [Cocoa] Partial rollout of r289946, broke Netflix
+ https://bugs.webkit.org/show_bug.cgi?id=237019
+ <rdar://89261425>
+
+ Reviewed by Eric Carlson.
+
+ Adopting AVContentKeySupport for AVSampleBufferDisplayLayer broke Netflix playback on Cocoa
+ ports. Disable that support by hard coding sampleBufferRenderersSupportKeySession() to
+ return false.
+
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (WebCore::sampleBufferRenderersSupportKeySession):
+
2022-02-22 Tyler Wilcock <[email protected]>
AX: Only compute ariaTreeRows for isTree() objects
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm (290310 => 290311)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm 2022-02-22 17:07:50 UTC (rev 290310)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm 2022-02-22 17:11:49 UTC (rev 290311)
@@ -284,11 +284,6 @@
static bool sampleBufferRenderersSupportKeySession()
{
static bool supports = false;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, [&] {
- supports = [PAL::getAVSampleBufferAudioRendererClass() conformsToProtocol:@protocol(AVContentKeyRecipient)]
- && [PAL::getAVSampleBufferDisplayLayerClass() conformsToProtocol:@protocol(AVContentKeyRecipient)];
- });
return supports;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes