Title: [237488] trunk/Source/WebCore
- Revision
- 237488
- Author
- calva...@igalia.com
- Date
- 2018-10-27 03:05:11 -0700 (Sat, 27 Oct 2018)
Log Message
[GStreamer][EME] Post key received to bus should be done before waking up other threads
https://bugs.webkit.org/show_bug.cgi?id=190822
Reviewed by Philippe Normand.
Notify after posting message to bus.
* platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp:
(webkitMediaCommonEncryptionDecryptSinkEventHandler):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (237487 => 237488)
--- trunk/Source/WebCore/ChangeLog 2018-10-27 10:01:04 UTC (rev 237487)
+++ trunk/Source/WebCore/ChangeLog 2018-10-27 10:05:11 UTC (rev 237488)
@@ -1,3 +1,15 @@
+2018-10-27 Xabier Rodriguez Calvar <calva...@igalia.com>
+
+ [GStreamer][EME] Post key received to bus should be done before waking up other threads
+ https://bugs.webkit.org/show_bug.cgi?id=190822
+
+ Reviewed by Philippe Normand.
+
+ Notify after posting message to bus.
+
+ * platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp:
+ (webkitMediaCommonEncryptionDecryptSinkEventHandler):
+
2018-10-27 Charlie Turner <ctur...@igalia.com>
Fix release build with -DLOG_DISABLED=0
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp (237487 => 237488)
--- trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp 2018-10-27 10:01:04 UTC (rev 237487)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp 2018-10-27 10:05:11 UTC (rev 237488)
@@ -316,8 +316,8 @@
GST_DEBUG_OBJECT(self, "key received");
priv->keyReceived = true;
priv->waitingForKey = false;
+ gst_element_post_message(GST_ELEMENT(self), gst_message_new_element(GST_OBJECT(self), gst_structure_new_empty("drm-key-received")));
priv->condition.notifyOne();
- gst_element_post_message(GST_ELEMENT(self), gst_message_new_element(GST_OBJECT(self), gst_structure_new_empty("drm-key-received")));
} else if (priv->waitingForKey) {
GST_DEBUG_OBJECT(self, "still waiting for key, reposting");
gst_element_post_message(GST_ELEMENT(self), gst_message_new_element(GST_OBJECT(self), gst_structure_new_empty("drm-waiting-for-key")));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes