mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
glcolorconvert: Ensure glcolorconvert does not miss supported RGB formats
Add RGB16 and other RGB formats to rgb_formats to ensure glcolorconvert does not miss the RGB formats it supports Signed-off-by: Chao Guo <chao.guo@nxp.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6497>
This commit is contained in:
parent
5fb2bbc2eb
commit
69f4d98844
1 changed files with 2 additions and 1 deletions
|
@ -1182,7 +1182,8 @@ gst_gl_color_convert_caps_transform_format_info (GstGLContext * context,
|
|||
|
||||
_init_value_string_list (&rgb_formats, "RGBA", "ARGB", "BGRA", "ABGR", "RGBx",
|
||||
"xRGB", "BGRx", "xBGR", "RGB", "BGR", "ARGB64", "BGR10A2_LE",
|
||||
"RGB10A2_LE", "RGBA64_LE", "RGBA64_BE", "RBGA", NULL);
|
||||
"RGB10A2_LE", "RGBA64_LE", "RGBA64_BE", "RBGA", "GBRA", "GBR",
|
||||
"RGBP", "BGRP", "RGB16", "BGR16", NULL);
|
||||
_init_supported_formats (context, output, &supported_formats);
|
||||
gst_value_intersect (&supported_rgb_formats, &rgb_formats,
|
||||
&supported_formats);
|
||||
|
|
Loading…
Reference in a new issue