plugins: request GLTextureUpload meta on buffers in the buffer pool.
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Wed, 20 Nov 2013 17:20:07 +0000 (17:20 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 11 Dec 2013 14:30:51 +0000 (15:30 +0100)
commit6b6c10d94d927602f7d47a0bec57cc64431a893f
treef5107e1974be7834b7c0795462df180eb3d320c0
parentc7673f1cd6bad19d3292896eea4ad485710926c5
plugins: request GLTextureUpload meta on buffers in the buffer pool.

Requesting the GLTextureUpload meta on buffers in the bufferpool
prevents such metas from being de-allocated when buffers are released
in the sink.

This is particulary useful in terms of performance when using the
GLTextureUploadMeta API since the GstVaapiTexture associated with
the target texture is stored in the meta.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapivideobufferpool.c
gst/vaapi/gstvaapivideobufferpool.h
gst/vaapi/gstvaapivideometa_texture.c
gst/vaapi/gstvaapivideometa_texture.h