mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 10:59:39 +00:00
[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
This commit is contained in:
parent
5aaa3c2a21
commit
057fd7ae98
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue