mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
buffer: clarify docs
This commit is contained in:
parent
7f217e728a
commit
52978bd4e6
1 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ gst_buffer_new (void)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_buffer_new_and_alloc:
|
* gst_buffer_new_and_alloc:
|
||||||
* @size: the size of the new buffer's data.
|
* @size: the size in bytes of the new buffer's data.
|
||||||
*
|
*
|
||||||
* Creates a newly allocated buffer with data of the given size.
|
* Creates a newly allocated buffer with data of the given size.
|
||||||
* The buffer memory is not cleared. If the requested amount of
|
* The buffer memory is not cleared. If the requested amount of
|
||||||
|
@ -389,7 +389,7 @@ gst_buffer_new_and_alloc (guint size)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_buffer_try_new_and_alloc:
|
* gst_buffer_try_new_and_alloc:
|
||||||
* @size: the size of the new buffer's data.
|
* @size: the size in bytes of the new buffer's data.
|
||||||
*
|
*
|
||||||
* Tries to create a newly allocated buffer with data of the given size. If
|
* Tries to create a newly allocated buffer with data of the given size. If
|
||||||
* the requested amount of memory can't be allocated, NULL will be returned.
|
* the requested amount of memory can't be allocated, NULL will be returned.
|
||||||
|
|
Loading…
Reference in a new issue