plugins: fix GLTextureUploadMeta to work with different texture ids.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 11 Dec 2013 13:04:27 +0000 (14:04 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 11 Dec 2013 14:30:51 +0000 (15:30 +0100)
commit61f6cbffc657fbe0287301018e365cd85607565c
tree8e073900af47a65aea39d28eeafb1668441a2400
parentc2eabc17dd5411095427723c4af9d4b481a935f0
plugins: fix GLTextureUploadMeta to work with different texture ids.

The GLTextureUploadMeta implementation assumed that for each upload()
sequence, the supplied texture id is always the same as the one that
was previously cached into the underlying GstVaapiTexture. Cope with
any texture id change the expense to recreate the underlying VA/GLX
resources.

https://bugzilla.gnome.org/show_bug.cgi?id=719643
gst-libs/gst/vaapi/gstvaapiobject.h
gst-libs/gst/vaapi/gstvaapiobject_priv.h
gst/vaapi/gstvaapivideometa_texture.c
gst/vaapi/gstvaapivideometa_texture.h