Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 14bba72947fdcef536f4fa5fa7a0a27f7b68ab07
https://github.com/WebKit/WebKit/commit/14bba72947fdcef536f4fa5fa7a0a27f7b68ab07
Author: Xabier Rodriguez-Calvar <[email protected]>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp
Log Message:
-----------
[GStreamer][EME] Prevent race conditions when flushing
https://bugs.webkit.org/show_bug.cgi?id=246682
Reviewed by Philippe Normand.
In some cases, decryption can be slower than flush processing and we might be
setting and unsetting the flushing flag
without the decryption thread noticing. We add a small state machine to ensure
that if we get a flush while decrypting,
we are going to ditch that buffer even if the result was correctly decrypted.
*
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp:
(transformInPlace):
(sinkEventHandler):
Canonical link: https://commits.webkit.org/255673@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes