mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
collectpads: Clarify docs about the buffer handler callback.
Clarify that the callback owns a ref on a passed buffer.
This commit is contained in:
parent
698324d48b
commit
b674a737b0
1 changed files with 3 additions and 1 deletions
|
@ -318,7 +318,9 @@ gst_collect_pads_set_buffer_function_locked (GstCollectPads * pads,
|
||||||
* @user_data: (closure): user data passed to the function
|
* @user_data: (closure): user data passed to the function
|
||||||
*
|
*
|
||||||
* Set the callback function and user data that will be called with
|
* Set the callback function and user data that will be called with
|
||||||
* the oldest buffer when all pads have been collected.
|
* the oldest buffer when all pads have been collected, or NULL on EOS.
|
||||||
|
* If a buffer is passed, the callback owns a reference and must unref
|
||||||
|
* it.
|
||||||
*
|
*
|
||||||
* MT safe.
|
* MT safe.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue