basetransform: If there's no peer we still have to transform ANY caps in getcaps()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Sep 2011 14:02:31 +0000 (16:02 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Sep 2011 14:05:07 +0000 (16:05 +0200)
commita121713f0c347caa483c213d7055a9c9c5aa46b8
tree96c5b480cc3b7f72083b795168c8ae225b142567
parentdbfc0d9b35f51e6f78f8b2d5b974198d67bf00d6
basetransform: If there's no peer we still have to transform ANY caps in getcaps()

Otherwise elements like capsfilter will return ANY caps if no
peer is present instead of the filter caps. The transform_caps()
vfunc could do transformations to the template caps that do not
result in the unmodified template caps.
libs/gst/base/gstbasetransform.c