PadChainFunction
Description:
[ CCode ( has_target = false ) ]
public delegate FlowReturn PadChainFunction (Pad pad, Object? parent, owned Buffer buffer)
public delegate FlowReturn PadChainFunction (Pad pad, Object? parent, owned Buffer buffer)
A function that will be called on sinkpads when chaining buffers.
The function typically processes the data contained in the buffer and either consumes the data or passes it on to the internally linked pad(s).
The implementer of this function receives a refcount to buffer
and should gst_buffer_unref
when the buffer is no
longer needed.
When a chain function detects an error in the data stream, it must post an error on the bus and return an appropriate FlowReturn value.
Parameters:
pad |
the sink Pad that performed the chain. |
parent |
the parent of |
buffer |
the Buffer that is chained, not |
Returns:
OK for success |
Namespace: Gst
Package: gstreamer-1.0