From 41999d974eab5ccbad4ae6eb32d61efc852e9b13 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 14 Jan 2021 10:18:51 +0100 Subject: [PATCH] gstmemory: Mark memory_map @info as `caller-allocates` Part-of: --- gst/gstmemory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstmemory.c b/gst/gstmemory.c index 7005ad6cab..0eaf208379 100644 --- a/gst/gstmemory.c +++ b/gst/gstmemory.c @@ -220,7 +220,7 @@ gst_memory_resize (GstMemory * mem, gssize offset, gsize size) /** * gst_memory_make_mapped: * @mem: (transfer full): a #GstMemory - * @info: (out): pointer for info + * @info: (out caller-allocates): pointer for info * @flags: mapping flags * * Create a #GstMemory object that is mapped with @flags. If @mem is mappable @@ -270,7 +270,7 @@ cannot_map: /** * gst_memory_map: * @mem: a #GstMemory - * @info: (out): pointer for info + * @info: (out caller-allocates): pointer for info * @flags: mapping flags * * Fill @info with the pointer and sizes of the memory in @mem that can be