applemedia: fix vtdec texture sharing on ios 9.1
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 10 Nov 2015 03:21:33 +0000 (14:21 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Tue, 10 Nov 2015 03:24:42 +0000 (14:24 +1100)
commit75ad1246a204b6e4e43cf41e9b7e65f5b0f64ea3
tree2651778983d448edbc17f425f250f027af0cdbb0
parent8def19decb701e663b975704d153041064362300
applemedia: fix vtdec texture sharing on ios 9.1

Use gst_gl_sized_gl_format_from_gl_format_type to get the format passed to
CVOpenGLESTextureCacheCreateTextureFromImage. Before this change extracting the
second texture from the pixel buffer was failing on ios 9.1.
sys/applemedia/corevideotexturecache.m