plugins: allow bufferpool to not allocate vaapi video meta.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Aug 2014 09:12:39 +0000 (11:12 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:54:32 +0000 (15:54 +0200)
commit1ef5a3a2003bc2071a30c08d457345ae005d61fd
tree5c26dd8732504344394ab5bc1db77585970bf7e6
parent038d56bdcadabf7e020f0bbd06c0d57ea14d042d
plugins: allow bufferpool to not allocate vaapi video meta.

Add GST_VAAPI_VIDEO_BUFFER_POOL_ACQUIRE_FLAG_NO_ALLOC params flag that
can be used to disable early allocations of vaapi video metas on buffers,
thus delagating that to the bufferpool user.
gst/vaapi/gstvaapivideobufferpool.c
gst/vaapi/gstvaapivideobufferpool.h
gst/vaapi/gstvaapivideomemory.c