projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccfaa53
)
query: init the ALLOCATION query correctly
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 29 Apr 2011 10:11:56 +0000
(12:11 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 29 Apr 2011 10:11:56 +0000
(12:11 +0200)
Don't add the 'pool' property instead of adding it with a NULL array.
gst/gstquery.c
patch
|
blob
|
history
diff --git
a/gst/gstquery.c
b/gst/gstquery.c
index 9d79f85eb976ca0bc450e28d579988d0e9679d3c..553dde33e547ab7fa7a6a91a78f4da99aacce4d4 100644
(file)
--- 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);