mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
d3d11: Use g_cond_broadcast() to wake up waiting threads
gst_d3d11_device_thread_add() can be called concurrently from different threads so the cond signal should reach to all waiting threads.
This commit is contained in:
parent
2af2402880
commit
e0b2d34237
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ gst_d3d11_device_message_callback (MessageData * msg)
|
|||
|
||||
g_mutex_lock (&priv->lock);
|
||||
msg->fired = TRUE;
|
||||
g_cond_signal (&priv->cond);
|
||||
g_cond_broadcast (&priv->cond);
|
||||
g_mutex_unlock (&priv->lock);
|
||||
|
||||
return G_SOURCE_REMOVE;
|
||||
|
|
Loading…
Reference in a new issue