vaapidecode: fix auto-plugging of vaapisink element.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 14:43:47 +0000 (16:43 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 16:34:13 +0000 (18:34 +0200)
commitc5102c72af9df7f508fe278054c45409c15ead24
treef45b268e6b90354613a0ba54e83cb4e9b83fce2a
parent883ef9d436cc31eca6cd3a5ba84673fc7aecd805
vaapidecode: fix auto-plugging of vaapisink element.

Make sure to propagate memory:VASurface capsfeature to srcpad caps
only for GStreamer >= 1.5 as the plug-in elements in GStreamer 1.4
core currently miss additional patches available in 1.5-git (1.6).

This is a temporary workaround.
gst/vaapi/gstvaapidecode.c