From ed1862269afab0be120b5156898901333c105ddd Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 29 Apr 2011 12:11:56 +0200 Subject: [PATCH] query: init the ALLOCATION query correctly Don't add the 'pool' property instead of adding it with a NULL array. --- gst/gstquery.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/gstquery.c b/gst/gstquery.c index 9d79f85..553dde3 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -1490,8 +1490,7 @@ gst_query_new_allocation (GstCaps * caps, gboolean need_pool) GST_QUARK (PREFIX), G_TYPE_UINT, 0, GST_QUARK (ALIGN), G_TYPE_UINT, 1, GST_QUARK (SIZE), G_TYPE_UINT, 0, - GST_QUARK (POOL), GST_TYPE_BUFFER_POOL, NULL, - GST_QUARK (META), G_TYPE_VALUE_ARRAY, NULL, NULL); + GST_QUARK (POOL), GST_TYPE_BUFFER_POOL, NULL, NULL); query = gst_query_new (GST_QUERY_ALLOCATION, structure); -- 2.7.4