summaryrefslogtreecommitdiffstats
path: root/sys/glsink
diff options
context:
space:
mode:
Diffstat (limited to 'sys/glsink')
-rw-r--r--sys/glsink/glimagesink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index 348fc330..1ec68c4b 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -180,12 +180,12 @@ gst_glimage_sink_init (GstGLImageSink * glimage_sink,
{
int screen;
- //glimage_sink->display = XOpenDisplay (NULL);
+ glimage_sink->display = XOpenDisplay (NULL);
screen = DefaultScreen (glimage_sink->display);
- //XSynchronize(glimage_sink->display, True);
- //XSetErrorHandler (error_handler);
+ XSynchronize (glimage_sink->display, True);
+ /* XSetErrorHandler (error_handler); */
glimage_sink->width = 400;
glimage_sink->height = 400;