From 057fd7ae98e443ebcbf07c239dc5ab1ff4b658e1 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 18 May 2007 12:39:49 +0000 Subject: [PATCH] [031/906] * sys/glsink/glimagesink.c: (gst_glimage_sink_init_display): Update the cached caps after opening the display so that we report only the supported caps formats, not just the template caps. Fixes: #439405 --- gst/gl/glimagesink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gl/glimagesink.c b/gst/gl/glimagesink.c index 067a03bef7..047fde56b6 100644 --- a/gst/gl/glimagesink.c +++ b/gst/gl/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);