mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
c0ff27959e
commit
c47c26bf1f
1 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue