From 7f5f1df59b6573eaee11bb02af53d3799c33552d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 9 Sep 2015 11:55:28 -0300 Subject: [PATCH] capsfilter: remove proxying of accept-caps downstream The design is to only do a local check --- plugins/elements/gstcapsfilter.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 74dbafb0e6..6d5d180b4c 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -359,19 +359,6 @@ gst_capsfilter_accept_caps (GstBaseTransform * 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); return ret;