Reply with ANY caps to ensure linking the internal src pad. This
might need more attention later, to reply with the real upstream caps
for the currently active element.
GST_AUTO_CONVERT (g_object_get_qdata (G_OBJECT (pad),
parent_quark));
+ if (GST_QUERY_TYPE (query) == GST_QUERY_CAPS) {
+ GstCaps *caps;
+
+ caps = gst_caps_new_any ();
+ gst_query_set_caps_result (query, caps);
+ gst_caps_unref (caps);
+
+ return TRUE;
+ }
+
return gst_pad_peer_query (autoconvert->sinkpad, query);
}