adder: improve caps filter functionality. Fixes #590146.
authorStefan Kost <ensonic@users.sf.net>
Mon, 31 Aug 2009 19:48:01 +0000 (22:48 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 31 Aug 2009 19:48:01 +0000 (22:48 +0300)
commite7368354d514117c05636fca816966caba5ce0ed
tree996517de5ddf9a18a473840365d72421287022d2
parent2194166e05fc7013f41eba9e76480afb838c2094
adder: improve caps filter functionality. Fixes #590146.

Also use the capsfilter if there is no src-peer as the caps constrain what
we can do. Don't create any_caps as a default, as we check for NULL to skip the
filtering. This is a (small) performance regression as we always intersect
otherwise.
gst/adder/gstadder.c