Title: [273163] trunk/Source/WebKit
Revision
273163
Author
commit-qu...@webkit.org
Date
2021-02-19 13:28:52 -0800 (Fri, 19 Feb 2021)

Log Message

Legacy CDM doesn't work when GPU media process is enabled
https://bugs.webkit.org/show_bug.cgi?id=222163
rdar://74254335

Patch by Jean-Yves Avenard <j...@apple.com> on 2021-02-19
Reviewed by Eric Carlson.

We don't have an infrastructure to generate CDM keys

* WebProcess/GPU/media/RemoteLegacyCDMSession.cpp:
(WebKit::RemoteLegacyCDMSession::update):
Don't unditionally report that an error occurred, but the result of the actual proxied operation in the content process.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (273162 => 273163)


--- trunk/Source/WebKit/ChangeLog	2021-02-19 21:04:22 UTC (rev 273162)
+++ trunk/Source/WebKit/ChangeLog	2021-02-19 21:28:52 UTC (rev 273163)
@@ -1,3 +1,17 @@
+2021-02-19  Jean-Yves Avenard  <j...@apple.com>
+
+        Legacy CDM doesn't work when GPU media process is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=222163
+        rdar://74254335
+
+        Reviewed by Eric Carlson.
+
+        We don't have an infrastructure to generate CDM keys
+
+        * WebProcess/GPU/media/RemoteLegacyCDMSession.cpp:
+        (WebKit::RemoteLegacyCDMSession::update):
+        Don't unditionally report that an error occurred, but the result of the actual proxied operation in the content process.
+
 2021-02-19  Per Arne Vollan  <pvol...@apple.com>
 
         [iOS] Partially revert r272973

Modified: trunk/Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp (273162 => 273163)


--- trunk/Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp	2021-02-19 21:04:22 UTC (rev 273162)
+++ trunk/Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp	2021-02-19 21:28:52 UTC (rev 273163)
@@ -113,7 +113,7 @@
     if (ipcNextMessage)
         nextMessage = convertToUint8Array(WTFMove(*ipcNextMessage));
 
-    return false;
+    return succeeded;
 }
 
 RefPtr<ArrayBuffer> RemoteLegacyCDMSession::cachedKeyForKeyID(const String& keyId) const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to