vaapidecode: simplify bufferpool configuration.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 16:00:19 +0000 (18:00 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 16:34:13 +0000 (18:34 +0200)
commit0607898019b95b28a5edda2273831ec0d60ede6c
tree516bb642772b5d2a008eb0e347be35b248105bf9
parentc5102c72af9df7f508fe278054c45409c15ead24
vaapidecode: simplify bufferpool configuration.

Rework the logics behind the configuration of an adequate bufferpool,
especially when OpenGL meta or additional capsfeatures are needed.

Besides, for GStreamer >= 1.4, the first capsfeatures that gets matched,
and that is not system memory, is now selected by default.
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapipluginutil.c