From 4aafaced2964395ab672335db4fa4abca7a19bcb Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 18 May 2007 12:39:49 +0000 Subject: 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 --- ChangeLog | 7 +++++++ sys/glsink/glimagesink.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index e2afb348..323f46ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-05-18 Jan Schmidt + + * 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 + 2007-05-18 Stefan Kost * ext/amrwb/gstamrwbdec.c (gst_amrwbdec_debug, GST_CAT_DEFAULT, 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); -- cgit v1.2.1