<html><head></head><body><div class="gmail_quote">Le 21 juin 2017 11:21:03 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">---<br /> modules/video_output/glx.c | 2 ++<br /> 1 file changed, 2 insertions(+)<br /><br />diff --git a/modules/video_output/glx.c b/modules/video_output/glx.c<br />index 0f76cd405d..880eb144b9 100644<br />--- a/modules/video_output/glx.c<br />+++ b/modules/video_output/glx.c<br />@@ -237,6 +237,7 @@ static int Open (vlc_object_t *obj)<br /> ReleaseCurrent (gl);<br /> #endif<br /> <br />+ gl->surface->display.x11.dpy = dpy;<br /> return VLC_SUCCESS;<br /> <br /> error:<br />@@ -254,6 +255,7 @@ static void Close (vlc_object_t *obj)<br /> glXDestroyContext (dpy, sys->ctx);<br /> glXDestroyWindow (dpy, sys->win);<br /> XCloseDisplay (dpy);<br />+ gl->surface->display.x11.dpy = NULL;<br /> free (sys);<br /> }<br /> </pre></blockquote></div><br clear="all">Nack.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>