summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-05-18 12:39:49 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-05-18 12:39:49 +0000
commit4aafaced2964395ab672335db4fa4abca7a19bcb (patch)
tree5c25602875dc3f59871faf90b4ee2e4b7fbfea96 /sys
parentd337dda7363352c89369fcae3bb0db898b092a5b (diff)
downloadgst-plugins-bad-4aafaced2964395ab672335db4fa4abca7a19bcb.tar.gz
gst-plugins-bad-4aafaced2964395ab672335db4fa4abca7a19bcb.tar.bz2
gst-plugins-bad-4aafaced2964395ab672335db4fa4abca7a19bcb.zip
sys/glsink/glimagesink.c: Update the cached caps after opening the display so that we report only the supported caps ...
Original commit message from CVS: * 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
Diffstat (limited to 'sys')
-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);