capsfilter: remove proxying of accept-caps downstream

The design is to only do a local check
This commit is contained in:
Thiago Santos 2015-09-09 11:55:28 -03:00
parent 4b5e79cd18
commit 7f5f1df59b

View file

@ -359,19 +359,6 @@ gst_capsfilter_accept_caps (GstBaseTransform * base,
gst_base_transform_reconfigure_sink (base); gst_base_transform_reconfigure_sink (base);
} }
if (ret) {
/* if we can intersect, see if the other end also accepts */
if (direction == GST_PAD_SRC)
ret =
gst_pad_peer_query_accept_caps (GST_BASE_TRANSFORM_SINK_PAD (base),
caps);
else
ret =
gst_pad_peer_query_accept_caps (GST_BASE_TRANSFORM_SRC_PAD (base),
caps);
GST_DEBUG_OBJECT (capsfilter, "peer accept: %d", ret);
}
gst_caps_unref (filter_caps); gst_caps_unref (filter_caps);
return ret; return ret;