Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c861668911872d44c7eba9436922cad3cacdcc7
https://github.com/WebKit/WebKit/commit/4c861668911872d44c7eba9436922cad3cacdcc7
Author: Philippe Normand <[email protected]>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
M Source/WebCore/platform/encryptedmedia/CDMProxy.h
M Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp
M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
Log Message:
-----------
[EME][OCDM] Prevent spurious keystatuses event when all keys expired
https://bugs.webkit.org/show_bug.cgi?id=315558
Reviewed by Xabier Rodriguez-Calvar.
If the keystore is empty, generating an empty status vector would trigger a new
keystatuses event
potentially overriding the previous one. Manually tested with a Widevine L3
CDM. This is sadly not
testable because there's no notion of key expiration in ClearKey.
Driving-by, improve GStreamer logging a bit in CDMProxyThunder.
* Source/WebCore/platform/encryptedmedia/CDMProxy.h:
(WebCore::KeyStoreBase::isEmpty const):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp:
(WebCore::CDMProxyThunder::getDecryptionSession const):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:
(WebCore::CDMInstanceSessionThunder::updateLicense):
Canonical link: https://commits.webkit.org/313876@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications