Skip to content

Commit

Permalink
gstmemory: Mark memory_map @info as caller-allocates
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 authored and sdroege committed Jan 14, 2021
1 parent ab920e5 commit b95941d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gst/gstmemory.c
Expand Up @@ -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
Expand Down Expand Up @@ -270,7 +270,7 @@ gst_memory_make_mapped (GstMemory * mem, GstMapInfo * info, GstMapFlags flags)
/**
* 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
Expand Down

0 comments on commit b95941d

Please sign in to comment.