mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
gstbuffer: Mark buffer_map* @info as caller-allocates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/740>
This commit is contained in:
parent
8922fc6436
commit
50214723d7
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