Revert "autoconvert: Handle caps query on internal srcpad"

This is not needed anymore if the gst_pad_link checks nothing.

This reverts commit a303375a3f.
This commit is contained in:
Olivier Crête 2014-05-09 20:06:12 -04:00
parent c0ff27959e
commit c47c26bf1f

View file

@ -1284,15 +1284,5 @@ gst_auto_convert_internal_src_query (GstPad * pad, GstObject * parent,
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);
}