mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
[724/906] wayland: make reentrant
https://bugzilla.gnome.org/show_bug.cgi?id=703445
This commit is contained in:
parent
ba19813816
commit
96deb2fba3
1 changed files with 2 additions and 2 deletions
|
@ -637,11 +637,11 @@ gst_gl_window_wayland_egl_send_message (GstGLWindow * window,
|
|||
g_mutex_init (&message.lock);
|
||||
g_cond_init (&message.cond);
|
||||
|
||||
g_mutex_lock (&message.lock);
|
||||
|
||||
g_main_context_invoke (window_egl->main_context, (GSourceFunc) _run_message,
|
||||
&message);
|
||||
|
||||
g_mutex_lock (&message.lock);
|
||||
|
||||
while (!message.fired)
|
||||
g_cond_wait (&message.cond, &message.lock);
|
||||
g_mutex_unlock (&message.lock);
|
||||
|
|
Loading…
Reference in a new issue