plugins: implement GLTextureUploadMeta user data copy.
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Thu, 12 Dec 2013 17:01:29 +0000 (17:01 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Dec 2013 17:34:10 +0000 (18:34 +0100)
commitbf8f244de3262c782f425252afe919dbad0f554b
treeb030320a1ff428323073a0752a48fe82f91a0406
parente3dcd33114f260b5c88b3bd425529201a4b3755a
plugins: implement GLTextureUploadMeta user data copy.

Makes the copies of a buffer reference their own GLTextureUploadMeta
user data and prevent the original buffer accessing already freed
memory if its copies has been released and freed.

https://bugzilla.gnome.org/show_bug.cgi?id=720336

[Propagate the original meta texture to the copy too]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapivideometa_texture.c