diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-07-16 13:23:54 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-07-16 13:23:54 +0200 |
commit | 3eeb9ea5976351f72070408b3ea73b96dfd372bf (patch) | |
tree | 90ddbc217a6cd1b33268dea6c2668ed05d315aa9 | |
parent | 1485597d5e11a766a79218156cd22bd1f90c1c65 (diff) |
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
-rw-r--r-- | gst-libs/gst/gl/x11/gstglwindow_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index 582a4ff..7dc1cdb 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); } } |