Commit 0d2adf5a authored by Sebastian Dröge's avatar Sebastian Dröge

pad: Don't forward the allocation query by default

This has to be handled explicitely by elements to
make sure that they support all the metas passed
in the allocation query.
Metas have to supported explicitely, otherwise the
query will fail. All elements in a chain need to
support a specific meta to allow its usage.
parent 10d90129
......@@ -2754,6 +2754,7 @@ gst_pad_query_default (GstPad * pad, GstObject * parent, GstQuery * query)
switch (GST_QUERY_TYPE (query)) {
case GST_QUERY_SCHEDULING:
case GST_QUERY_ALLOCATION:
forward = FALSE;
break;
case GST_QUERY_ACCEPT_CAPS:
......@@ -2771,7 +2772,6 @@ gst_pad_query_default (GstPad * pad, GstObject * parent, GstQuery * query)
case GST_QUERY_JITTER:
case GST_QUERY_RATE:
case GST_QUERY_CONVERT:
case GST_QUERY_ALLOCATION:
default:
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment