mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
base: adapter: Explicitly mark size parameter as input
The generated gir file marks the size parameter as "out" by default. This is wrong in the context of a caller allocated buffer with a given size. Explicitly marking the size parameter as (in) fixes the issue. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4399>
This commit is contained in:
parent
901383771d
commit
acb913a878
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ gst_adapter_unmap (GstAdapter * adapter)
|
|||
* @dest: (out caller-allocates) (array length=size) (element-type guint8):
|
||||
* the memory to copy into
|
||||
* @offset: the bytes offset in the adapter to start from
|
||||
* @size: the number of bytes to copy
|
||||
* @size: (in): the number of bytes to copy
|
||||
*
|
||||
* Copies @size bytes of data starting at @offset out of the buffers
|
||||
* contained in #GstAdapter into an array @dest provided by the caller.
|
||||
|
|
Loading…
Reference in a new issue