basetrans: add an option to prefer passthrough
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Oct 2012 09:15:36 +0000 (11:15 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Oct 2012 09:15:36 +0000 (11:15 +0200)
commitd5b81aba6af51f2784b5200088478218c9a1b390
tree5cafddef32ecd406139c10f1637bee1a8550f2f5
parent664f7141be70c68a53aaa18e70c874d306753384
basetrans: add an option to prefer passthrough

Basetransform attempts to do passthrough mode regardless of the order of
the transform_caps method. Add a method to disable this.
This is needed for elements like capsfilter that want to transform caps
based on the order of the caps property.
libs/gst/base/gstbasetransform.c
libs/gst/base/gstbasetransform.h