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 gst_pad_set_chain_function()) 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 #GstBuffer to send, return GST_FLOW_ERROR if not.

Return: a #GstFlowReturn from the pad.

MT safe.

Meta