vaapisink: Fix the capsfeature advertisement in padtemplate
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 17 Jun 2015 11:20:37 +0000 (14:20 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 17 Jun 2015 11:20:37 +0000 (14:20 +0300)
commit28e50ad40788735bcfaa0d5f33abcd942d678b09
tree23c101be4b9360b5fac1006ba2eca2e1d6f12689
parent64acc74d1795c3f5cadddc550e5d4c77257a878d
vaapisink: Fix the capsfeature advertisement in padtemplate

This fixes the regression introduced in 64acc74.

If a pad supports multiple set of capsfeatures, it needs to add
multiple equal structures with different feature sets to the caps.
Because caps structures with the same name but with a non-equal
set of caps features are not compatible.

Without this patch, playbin will autoplug xvimagesink instead of vaapisink.

https://bugzilla.gnome.org/show_bug.cgi?id=750095
gst/vaapi/gstvaapisink.c