summaryrefslogtreecommitdiffstats
path: root/sys/glsink
diff options
context:
space:
mode:
Diffstat (limited to 'sys/glsink')
-rw-r--r--sys/glsink/glimagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index 067a03be..047fde56 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -783,6 +783,7 @@ gst_glimage_sink_init_display (GstGLImageSink * glimage_sink)
#else
glimage_sink->have_yuv = FALSE;
#endif
+ gst_glimage_sink_update_caps (glimage_sink);
glXMakeCurrent (glimage_sink->display, None, NULL);
XDestroyWindow (glimage_sink->display, window);