vtdec: Use R/RG textures for NV12 when the context provides them
authorJan Schmidt <jan@centricular.com>
Fri, 11 Sep 2015 14:51:52 +0000 (00:51 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 11 Sep 2015 18:33:34 +0000 (04:33 +1000)
commit9f890c5935b735d57799f6ac82b89cf446dac777
tree2eb8e7b25a0f54a0fc8c3fa7db0ce71d7138d347
parent0d7d7f6c927530b2b3544c190f868fdf68e0f9de
vtdec: Use R/RG textures for NV12 when the context provides them

Fixes playback to GL memory on iOS, where the colours are messed
up by passing Luminance/LuminanceAlpha textures where
color convert expects R/RG textures.

https://bugzilla.gnome.org/show_bug.cgi?id=754504
sys/applemedia/corevideotexturecache.m