diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2024-09-24 13:31:34 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2024-09-25 11:12:28 +0200 |
commit | 7e3f9df9a5186fb6e82a45293c0bc70573f97536 (patch) | |
tree | be36f99b84007071591d4efcdce13cbcfae8b164 | |
parent | 4670e1c809b9a1f56e90b9fd5de27a77b7d49482 (diff) |
wpe: initialize threading.ready before reading it
Fix Valgrind warning.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7377>
-rw-r--r-- | subprojects/gst-plugins-bad/ext/wpe/gstwpethreadedview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |