mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gstmemory: Mark memory_map @info as caller-allocates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/740>
This commit is contained in:
parent
50214723d7
commit
41999d974e
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ gst_memory_resize (GstMemory * mem, gssize offset, gsize size)
|
||||||
/**
|
/**
|
||||||
* gst_memory_make_mapped:
|
* gst_memory_make_mapped:
|
||||||
* @mem: (transfer full): a #GstMemory
|
* @mem: (transfer full): a #GstMemory
|
||||||
* @info: (out): pointer for info
|
* @info: (out caller-allocates): pointer for info
|
||||||
* @flags: mapping flags
|
* @flags: mapping flags
|
||||||
*
|
*
|
||||||
* Create a #GstMemory object that is mapped with @flags. If @mem is mappable
|
* Create a #GstMemory object that is mapped with @flags. If @mem is mappable
|
||||||
|
@ -270,7 +270,7 @@ cannot_map:
|
||||||
/**
|
/**
|
||||||
* gst_memory_map:
|
* gst_memory_map:
|
||||||
* @mem: a #GstMemory
|
* @mem: a #GstMemory
|
||||||
* @info: (out): pointer for info
|
* @info: (out caller-allocates): pointer for info
|
||||||
* @flags: mapping flags
|
* @flags: mapping flags
|
||||||
*
|
*
|
||||||
* Fill @info with the pointer and sizes of the memory in @mem that can be
|
* Fill @info with the pointer and sizes of the memory in @mem that can be
|
||||||
|
|
Loading…
Reference in a new issue