plugin: use allowed caps filter from element
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 29 Mar 2016 12:17:54 +0000 (14:17 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 18 Apr 2016 16:28:43 +0000 (18:28 +0200)
commit8d42c95b0f706a1bf1649bfafef607fc951e5027
tree204d4e41a7276c09e659207f94fe1dba23822393
parent2d7d38cb9c4ec3e61aaa83d92103b95d0cf380d4
plugin: use allowed caps filter from element

Instead of using the srcpad template caps for filtering the peer caps, the
function gst_vaapi_find_preferred_caps_feature(), now receives a new parameter
for the element's allowed caps.

With this modification, the vaapipostproc element simplifies a bit its code.

https://bugzilla.gnome.org/show_bug.cgi?id=765223
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginutil.c
gst/vaapi/gstvaapipluginutil.h
gst/vaapi/gstvaapipostproc.c