Skip to content

Commit

Permalink
gstbuffer: Mark buffer_map* @info as caller-allocates
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jan 14, 2021
1 parent c77136d commit ab920e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gst/gstbuffer.c
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab920e5

Please sign in to comment.