mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
memory: improve docs
Mention that custom allocator functions can pass whatever they want to the user_data.
This commit is contained in:
parent
3ba43888f4
commit
17022f7ad1
1 changed files with 3 additions and 1 deletions
|
@ -247,7 +247,9 @@ struct _GstAllocationParams {
|
|||
* be filled with 0 if @params flags contains #GST_MEMORY_FLAG_ZERO_PREFIXED and
|
||||
* #GST_MEMORY_FLAG_ZERO_PADDED respectively.
|
||||
*
|
||||
* @user_data is the data that was used when creating @allocator.
|
||||
* @user_data is extra data passed to this function. The default
|
||||
* gst_allocator_alloc() passes the user_data that was used when creating
|
||||
* @allocator.
|
||||
*
|
||||
* Returns: a newly allocated #GstMemory. Free with gst_memory_unref()
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue