mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +00:00
glvideoconvert: RG/LA is available in OpenGL ES 3, so let that through
This commit is contained in:
parent
19a00b17ab
commit
461201c396
1 changed files with 1 additions and 1 deletions
|
@ -1969,7 +1969,7 @@ _init_convert (GstGLColorConvert * convert)
|
|||
}
|
||||
|
||||
/* Requires reading from a RG/LA framebuffer... */
|
||||
if (USING_GLES2 (convert->context) &&
|
||||
if (USING_GLES2 (convert->context) && !USING_GLES3 (convert->context) &&
|
||||
(GST_VIDEO_INFO_FORMAT (&convert->out_info) == GST_VIDEO_FORMAT_YUY2 ||
|
||||
GST_VIDEO_INFO_FORMAT (&convert->out_info) ==
|
||||
GST_VIDEO_FORMAT_UYVY)) {
|
||||
|
|
Loading…
Reference in a new issue