mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
pad: don't fallback to caps queries with proxy pads
A proxy-pad should always proxy the caps related queries and events to its down or upstream peers on the other side of the element. Falling back to a caps query seems wrong. https://bugzilla.gnome.org/show_bug.cgi?id=754112
This commit is contained in:
parent
cc217289a7
commit
4b5e79cd18
1 changed files with 2 additions and 3 deletions
|
@ -2973,9 +2973,8 @@ gst_pad_query_accept_caps_default (GstPad * pad, GstQuery * query)
|
||||||
/* first forward the query to internally linked pads when we are dealing with
|
/* first forward the query to internally linked pads when we are dealing with
|
||||||
* a PROXY CAPS */
|
* a PROXY CAPS */
|
||||||
if (GST_PAD_IS_PROXY_CAPS (pad)) {
|
if (GST_PAD_IS_PROXY_CAPS (pad)) {
|
||||||
if ((result = gst_pad_proxy_query_accept_caps (pad, query))) {
|
result = gst_pad_proxy_query_accept_caps (pad, query);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_CAT_DEBUG_OBJECT (GST_CAT_PERFORMANCE, pad,
|
GST_CAT_DEBUG_OBJECT (GST_CAT_PERFORMANCE, pad,
|
||||||
|
|
Loading…
Reference in a new issue