mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-14 12:09:30 +00:00
Merge branch 'wl-fixes' into 'main'
waylandsink: Fix a few racy issues for an overloaded system See merge request gstreamer/gstreamer!5943
This commit is contained in:
commit
e454f9b50d
|
@ -344,7 +344,7 @@ gst_wl_window_new_toplevel (GstWlDisplay * display, const GstVideoInfo * info,
|
|||
wl_display_flush (gst_wl_display_get_display (display));
|
||||
|
||||
g_mutex_lock (&priv->configure_mutex);
|
||||
timeout = g_get_monotonic_time () + 100 * G_TIME_SPAN_MILLISECOND;
|
||||
timeout = g_get_monotonic_time () + 5 * G_TIME_SPAN_SECOND;
|
||||
while (!priv->configured) {
|
||||
if (!g_cond_wait_until (&priv->configure_cond, &priv->configure_mutex,
|
||||
timeout)) {
|
||||
|
|
Loading…
Reference in a new issue