From fba7c87cd789376a800092da98e4d05f114adb2f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 19 Aug 2024 12:39:21 +0200 Subject: [PATCH] wpe: initialize threading.ready before reading it Fixes 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);