summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-09 20:06:12 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-09 23:04:26 -0400
commitc47c26bf1f1b0aa67cf7698b1f1f8ef1719b4105 (patch)
tree4fdaf489f0471ad554cf324f7220a3205f13c44a /gst
parentc0ff27959e483a380c3b07b28d25a5e591938bd0 (diff)
Revert "autoconvert: Handle caps query on internal srcpad"
This is not needed anymore if the gst_pad_link checks nothing. This reverts commit a303375a3f5c12e97ca8bf50b5a93ce8652faf23.
Diffstat (limited to 'gst')
-rw-r--r--gst/autoconvert/gstautoconvert.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c
index 15f523f92..c460fc081 100644
--- a/gst/autoconvert/gstautoconvert.c
+++ b/gst/autoconvert/gstautoconvert.c
@@ -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);
}