mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 05:16:36 +00:00
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:
parent
ccfaa53fb2
commit
ed1862269a
1 changed files with 1 additions and 2 deletions
|
@ -1490,8 +1490,7 @@ gst_query_new_allocation (GstCaps * caps, gboolean need_pool)
|
||||||
GST_QUARK (PREFIX), G_TYPE_UINT, 0,
|
GST_QUARK (PREFIX), G_TYPE_UINT, 0,
|
||||||
GST_QUARK (ALIGN), G_TYPE_UINT, 1,
|
GST_QUARK (ALIGN), G_TYPE_UINT, 1,
|
||||||
GST_QUARK (SIZE), G_TYPE_UINT, 0,
|
GST_QUARK (SIZE), G_TYPE_UINT, 0,
|
||||||
GST_QUARK (POOL), GST_TYPE_BUFFER_POOL, NULL,
|
GST_QUARK (POOL), GST_TYPE_BUFFER_POOL, NULL, NULL);
|
||||||
GST_QUARK (META), G_TYPE_VALUE_ARRAY, NULL, NULL);
|
|
||||||
|
|
||||||
query = gst_query_new (GST_QUERY_ALLOCATION, structure);
|
query = gst_query_new (GST_QUERY_ALLOCATION, structure);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue