From 9810469db0a06aef7ec7b726538e1bf474f8bf25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 16 Jul 2013 13:23:54 +0200 Subject: [PATCH] [760/906] x11: Always use the same display connection from the GL thread The other display connection might be used by async calls from elsewhere at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=704247 --- gst-libs/gst/gl/x11/gstglwindow_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index 582a4ffd45..7dc1cdb7a5 100644 --- a/gst-libs/gst/gl/x11/gstglwindow_x11.c +++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c @@ -508,7 +508,7 @@ gst_gl_window_x11_draw_unlocked (GstGLWindow * window, guint width, XSendEvent (window_x11->device, window_x11->internal_win_id, FALSE, ExposureMask, &event); - XSync (window_x11->disp_send, FALSE); + XSync (window_x11->device, FALSE); } }