corevideotexturecache: free texture cache on iOS

https://bugzilla.gnome.org/show_bug.cgi?id=748122
This commit is contained in:
Ilya Konstantinov 2015-04-19 01:15:07 +03:00 committed by Sebastian Dröge
parent 472d1959a2
commit c98eb6f2f5

View file

@ -75,7 +75,7 @@ gst_core_video_texture_cache_free (GstCoreVideoTextureCache * cache)
#if !HAVE_IOS
CVOpenGLTextureCacheRelease (cache->cache);
#else
/* FIXME: how do we release ->cache ? */
CFRelease (cache->cache); /* iOS has no "CVOpenGLESTextureCacheRelease" */
#endif
gst_object_unref (cache->convert);
gst_object_unref (cache->ctx);