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
/* first forward the query to internally linked pads when we are dealing with
* a PROXY CAPS */
if (GST_PAD_IS_PROXY_CAPS (pad)) {
- if ((result = gst_pad_proxy_query_accept_caps (pad, query))) {
- goto done;
- }
+ result = gst_pad_proxy_query_accept_caps (pad, query);
+ goto done;
}
GST_CAT_DEBUG_OBJECT (GST_CAT_PERFORMANCE, pad,