glcolorconvert: Add FIXME comment about possibility of non-Apple YCbCr422 rectangular textures

This commit is contained in:
Sebastian Dröge 2015-01-29 16:30:34 +01:00
parent 4b6a968203
commit c2492b3a6b

View file

@ -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]);