basetransform: relax caps check

Also run the caps transform function on ANY caps, like we used to do before.
This makes sure that capsfilter has a chance to filter ANY caps as well.
This commit is contained in:
Wim Taymans 2011-05-18 16:47:44 +02:00
parent 99962c72e4
commit ad0693f47d

View file

@ -680,7 +680,7 @@ gst_base_transform_getcaps (GstPad * pad, GstCaps * filter)
if (peerfilter)
gst_caps_unref (peerfilter);
if (peercaps && !gst_caps_is_any (peercaps)) {
if (peercaps) {
GstCaps *temp, *templ;
GST_DEBUG_OBJECT (pad, "peer caps %" GST_PTR_FORMAT, peercaps);