Pad.chain

Chain a buffer to pad.

The function returns GST_FLOW_FLUSHING if the pad was flushing.

If the buffer type is not acceptable for pad (as negotiated with a preceding GST_EVENT_CAPS event), this function returns GST_FLOW_NOT_NEGOTIATED

The function proceeds calling the chain function installed on pad (see Pad.setChainFunction) and the return value of that function is returned to the caller. GST_FLOW_NOT_SUPPORTED is returned if pad has no chain function.

In all cases, success or failure, the caller loses its reference to buffer after calling this function.

class Pad
chain

Parameters

buffer Buffer

the gstreamer.Buffer to send, return GST_FLOW_ERROR if not.

Return Value

a GstFlowReturn from the pad.

MT safe.