query: init the ALLOCATION query correctly

Don't add the 'pool' property instead of adding it with a NULL array.
This commit is contained in:
Wim Taymans 2011-04-29 12:11:56 +02:00
parent ccfaa53fb2
commit ed1862269a

View file

@ -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);