basetransform: respect accept-caps intersect flag
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 11 Aug 2015 11:07:53 +0000 (08:07 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 13 Aug 2015 09:01:36 +0000 (06:01 -0300)
commit7ec54c2217ad1c1c00b616e9644d33902df802fb
treec2a985bc7d087d99338555dd7ce7e19e2c5985e5
parent039ac81ee332354c1d3ea23b348db6c2e92d9cfa
basetransform: respect accept-caps intersect flag

GstPad has a flag for suggesting if the accept-caps
query should use intersect instead of the default
subset caps operation to verify if the caps would be
acceptable.

basetransform currently always uses the subset check and
this patch makes it honor the flag for using intersect
if it is set.

https://bugzilla.gnome.org/show_bug.cgi?id=748635
libs/gst/base/gstbasetransform.c