From 7e3f9df9a5186fb6e82a45293c0bc70573f97536 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 24 Sep 2024 13:31:34 +0200 Subject: [PATCH] wpe: initialize threading.ready before reading it Fix Valgrind warning. Part-of: --- subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp b/subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp index 450084fb58..05f16154b2 100644 --- a/subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp +++ b/subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp @@ -73,6 +73,7 @@ GstWPEContextThread::GstWPEContextThread() { g_mutex_init(&threading.mutex); g_cond_init(&threading.cond); + threading.ready = FALSE; { GMutexHolder lock(threading.mutex);