mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
wpe: initialize threading.ready before reading it
Fix Valgrind warning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7377>
This commit is contained in:
parent
4670e1c809
commit
7e3f9df9a5
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ GstWPEContextThread::GstWPEContextThread()
|
||||||
{
|
{
|
||||||
g_mutex_init(&threading.mutex);
|
g_mutex_init(&threading.mutex);
|
||||||
g_cond_init(&threading.cond);
|
g_cond_init(&threading.cond);
|
||||||
|
threading.ready = FALSE;
|
||||||
|
|
||||||
{
|
{
|
||||||
GMutexHolder lock(threading.mutex);
|
GMutexHolder lock(threading.mutex);
|
||||||
|
|
Loading…
Reference in a new issue