mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
85fee9738e
commit
fba7c87cd7
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ GstWPEContextThread::GstWPEContextThread()
|
|||
{
|
||||
g_mutex_init(&threading.mutex);
|
||||
g_cond_init(&threading.cond);
|
||||
threading.ready = FALSE;
|
||||
|
||||
{
|
||||
GMutexHolder lock(threading.mutex);
|
||||
|
|
Loading…
Reference in a new issue