Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9610941b7e544003021f04faf8f1f033be125866
https://github.com/WebKit/WebKit/commit/9610941b7e544003021f04faf8f1f033be125866
Author: Xabier Rodriguez-Calvar <[email protected]>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Changed paths:
M
LayoutTests/media/encrypted-media/encrypted-media-append-encrypted-unencrypted-expected.txt
M
LayoutTests/media/encrypted-media/encrypted-media-append-encrypted-unencrypted.html
M
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp
Log Message:
-----------
[GStreamer][EME] Decryptor should be able to work in passthrough mode
https://bugs.webkit.org/show_bug.cgi?id=245575
Reviewed by Philippe Normand.
In some cases, some websites append unencrypted content (ads) while encrypted
content is playing.
To make this work we can set the decryptor in passthrough mode. For that we
check the sink caps
against the source caps and if they match, we can set the object in passthrough
mode and let the
super class handle the buffers.
Test: media/encrypted-media/encrypted-media-append-encrypted-unencrypted.html.
*
LayoutTests/media/encrypted-media/encrypted-media-append-encrypted-unencrypted-expected.txt:
*
LayoutTests/media/encrypted-media/encrypted-media-append-encrypted-unencrypted.html:
*
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp:
(webkit_media_common_encryption_decrypt_class_init):
(transformCaps):
(acceptCaps):
Canonical link: https://commits.webkit.org/254910@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes