mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
glcolorconvert: Add FIXME comment about possibility of non-Apple YCbCr422 rectangular textures
This commit is contained in:
parent
4b6a968203
commit
c2492b3a6b
1 changed files with 4 additions and 0 deletions
|
@ -850,6 +850,10 @@ _YUV_to_RGB (GstGLColorConvert * convert)
|
|||
|
||||
if (in_tex_rectangular && apple_ycbcr
|
||||
&& gst_buffer_n_memory (convert->inbuf) == 1) {
|
||||
/* FIXME: We should probably also check if tex_target actually is using
|
||||
* the Apple YCbCr422 extension. It could also be a normal UYVY texture
|
||||
* with RB or Lum/Alpha
|
||||
*/
|
||||
info->frag_prog =
|
||||
g_strdup_printf (frag_APPLE_YUV_TO_RGB, pixel_order[0], pixel_order[1],
|
||||
pixel_order[2], pixel_order[3]);
|
||||
|
|
Loading…
Reference in a new issue