From e460be622d1f09db04cac8a7d6c7e34dcb62d9ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 25 Feb 2013 13:24:33 +0100 Subject: [PATCH] query: Document that the first allocator in the allocation query should allow mapping to system memory --- gst/gstquery.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gstquery.c b/gst/gstquery.c index 0692d66..533b8b3 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -1847,7 +1847,9 @@ gst_query_add_allocation_param (GstQuery * query, GstAllocator * allocator, * allocator params array of the query's structure. * * If no memory allocator is specified, the downstream element can handle - * the default memory allocator. + * the default memory allocator. The first memory allocator in the query + * should be generic and allow mapping to system memory, all following + * allocators should be ordered by preference with the preferred one first. * * Returns: the allocator array size as a #guint. */ -- 2.7.4