diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-18 11:37:57 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-18 11:39:29 +0100 |
commit | 0d2adf5a180a371cd002e86eec73e859467aad6b (patch) | |
tree | 2c385d34ea4a94238535b3a0126e142f50329dbc | |
parent | 10d901291e7bad1736a5a9792fa20884cde2b2b0 (diff) |
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.
-rw-r--r-- | gst/gstpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index 6dca359ee2..4fafa29c7c 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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; } |