plugins: factor out decide_allocation() hook.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Aug 2014 12:10:36 +0000 (14:10 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:54:32 +0000 (15:54 +0200)
commitd0a9575fc22701a68abb790d13524edb86e47f6d
tree9e8bb8fbb3d1083b9cd4659f43d4ea7b633a516d
parent1ef5a3a2003bc2071a30c08d457345ae005d61fd
plugins: factor out decide_allocation() hook.

Add a default decide_allocation() hook to GstVaapiPluginBase. The caps
feature argument can be used to force a bufferpool with a specific kind
of memory.
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h