wpe: initialize threading.ready before reading it

Fixes Valgrind warning.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7385>
This commit is contained in:
Guillaume Desmottes 2024-08-19 12:39:21 +02:00 committed by Backport Bot
parent 85fee9738e
commit fba7c87cd7

View file

@ -73,6 +73,7 @@ GstWPEContextThread::GstWPEContextThread()
{
g_mutex_init(&threading.mutex);
g_cond_init(&threading.cond);
threading.ready = FALSE;
{
GMutexHolder lock(threading.mutex);