mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
gstbuffer: Mark buffer_map* @info as caller-allocates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/730>
This commit is contained in:
parent
c77136d63f
commit
ab920e57eb
1 changed files with 2 additions and 2 deletions
|
@ -1757,7 +1757,7 @@ gst_buffer_resize_range (GstBuffer * buffer, guint idx, gint length,
|
|||
/**
|
||||
* gst_buffer_map:
|
||||
* @buffer: a #GstBuffer.
|
||||
* @info: (out): info about the mapping
|
||||
* @info: (out caller-allocates): info about the mapping
|
||||
* @flags: flags for the mapping
|
||||
*
|
||||
* This function fills @info with the #GstMapInfo of all merged memory
|
||||
|
@ -1787,7 +1787,7 @@ gst_buffer_map (GstBuffer * buffer, GstMapInfo * info, GstMapFlags flags)
|
|||
* @buffer: a #GstBuffer.
|
||||
* @idx: an index
|
||||
* @length: a length
|
||||
* @info: (out): info about the mapping
|
||||
* @info: (out caller-allocates): info about the mapping
|
||||
* @flags: flags for the mapping
|
||||
*
|
||||
* This function fills @info with the #GstMapInfo of @length merged memory blocks
|
||||
|
|
Loading…
Reference in a new issue