mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
capsfilter: remove proxying of accept-caps downstream
The design is to only do a local check
This commit is contained in:
parent
4b5e79cd18
commit
7f5f1df59b
1 changed files with 0 additions and 13 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue