mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 14:20:06 +00:00
buffer: Document that gst_buffer_copy_region() accepts -1 as size to copy until the end
It's just a wrapper around gst_buffer_copy_into() after all.
This commit is contained in:
parent
f3756af07b
commit
6e47237e66
1 changed files with 2 additions and 1 deletions
|
@ -1833,7 +1833,8 @@ gst_buffer_memset (GstBuffer * buffer, gsize offset, guint8 val, gsize size)
|
|||
* @flags: the #GstBufferCopyFlags
|
||||
* @offset: the offset into parent #GstBuffer at which the new sub-buffer
|
||||
* begins.
|
||||
* @size: the size of the new #GstBuffer sub-buffer, in bytes.
|
||||
* @size: the size of the new #GstBuffer sub-buffer, in bytes. If -1, all
|
||||
* data is copied.
|
||||
*
|
||||
* Creates a sub-buffer from @parent at @offset and @size.
|
||||
* This sub-buffer uses the actual memory space of the parent buffer.
|
||||
|
|
Loading…
Reference in a new issue