mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
buffer: mark gst_buffer_wrapped* data as array
https://bugzilla.gnome.org/show_bug.cgi?id=678301
This commit is contained in:
parent
823d27e837
commit
f169081290
1 changed files with 2 additions and 2 deletions
|
@ -691,7 +691,7 @@ no_memory:
|
|||
/**
|
||||
* gst_buffer_new_wrapped_full:
|
||||
* @flags: #GstMemoryFlags
|
||||
* @data: data to wrap
|
||||
* @data: (array length=size) (element-type guint8): data to wrap
|
||||
* @maxsize: allocated size of @data
|
||||
* @offset: offset in @data
|
||||
* @size: size of valid data
|
||||
|
@ -726,7 +726,7 @@ gst_buffer_new_wrapped_full (GstMemoryFlags flags, gpointer data,
|
|||
|
||||
/**
|
||||
* gst_buffer_new_wrapped:
|
||||
* @data: data to wrap
|
||||
* @data: (array length=size) (element-type guint8): data to wrap
|
||||
* @size: allocated size of @data
|
||||
*
|
||||
* Creates a new buffer that wraps the given @data. The memory will be freed
|
||||
|
|
Loading…
Reference in a new issue