summaryrefslogtreecommitdiff
path: root/gst/gstquery.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-02-25 13:57:43 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-02-25 13:57:43 +0100
commit008b35f6ae85f147b1f2569e15398bda75cb6441 (patch)
tree7e6ffe8479c5639c4f58afdf8116b900bacd4cd7 /gst/gstquery.h
parente460be622d1f09db04cac8a7d6c7e34dcb62d9ef (diff)
query: Add new API to remove allocation params and pools from the allocation query
Diffstat (limited to 'gst/gstquery.h')
-rw-r--r--gst/gstquery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstquery.h b/gst/gstquery.h
index 8abd6f7aac..1f16e301cf 100644
--- a/gst/gstquery.h
+++ b/gst/gstquery.h
@@ -411,6 +411,7 @@ void gst_query_set_nth_allocation_pool (GstQuery *query, guint ind
GstBufferPool *pool,
guint size, guint min_buffers,
guint max_buffers);
+void gst_query_remove_nth_allocation_pool (GstQuery *query, guint index);
/* allocators */
void gst_query_add_allocation_param (GstQuery *query, GstAllocator *allocator,
@@ -422,6 +423,7 @@ void gst_query_parse_nth_allocation_param (GstQuery *query, guint ind
void gst_query_set_nth_allocation_param (GstQuery *query, guint index,
GstAllocator *allocator,
const GstAllocationParams *params);
+void gst_query_remove_nth_allocation_param (GstQuery *query, guint index);
/* metadata */
void gst_query_add_allocation_meta (GstQuery *query, GType api, const GstStructure *params);