gst/elements/gstcapsfilter.c: Free existing caps if the capsfilter changes. Add a...
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 2 Jun 2005 15:45:16 +0000 (15:45 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 2 Jun 2005 15:45:16 +0000 (15:45 +0000)
commitc9f30f98b79c0aa471f38b062f889420d8ba85aa
treef39d315fb192a1c6aff53d1ee339fa1a9441eb6c
parent26a1c2c66358293e445be533893249e1066f72f6
gst/elements/gstcapsfilter.c: Free existing caps if the capsfilter changes. Add a FIXME about setting those caps on t...

Original commit message from CVS:
* gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
Free existing caps if the capsfilter changes. Add a FIXME about
setting those caps on the pads.

* gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
Before adding a ghost pad to a parent bin, check that there isn't
already one for the element on the bin. Prevents infinite recursion
when using decodebin in parse pipelines. Andy says he'll rewrite the
way this works anyway, so ignore the hack.
ChangeLog
gst/elements/gstcapsfilter.c
gst/gstutils.c
plugins/elements/gstcapsfilter.c