mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
d337dda736
commit
4aafaced29
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-05-18 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* 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 <ensonic@users.sf.net>
|
2007-05-18 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* ext/amrwb/gstamrwbdec.c (gst_amrwbdec_debug, GST_CAT_DEFAULT,
|
* ext/amrwb/gstamrwbdec.c (gst_amrwbdec_debug, GST_CAT_DEFAULT,
|
||||||
|
|
|
@ -783,6 +783,7 @@ gst_glimage_sink_init_display (GstGLImageSink * glimage_sink)
|
||||||
#else
|
#else
|
||||||
glimage_sink->have_yuv = FALSE;
|
glimage_sink->have_yuv = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
gst_glimage_sink_update_caps (glimage_sink);
|
||||||
|
|
||||||
glXMakeCurrent (glimage_sink->display, None, NULL);
|
glXMakeCurrent (glimage_sink->display, None, NULL);
|
||||||
XDestroyWindow (glimage_sink->display, window);
|
XDestroyWindow (glimage_sink->display, window);
|
||||||
|
|
Loading…
Reference in a new issue