push


Description:

public FlowReturn push (owned Buffer buffer)

Pushes a buffer to the peer of this.

This function will call installed block probes before triggering any installed data probes.

The function proceeds calling chain on the peer pad and returns the value from that function. If this has no peer, NOT_LINKED will be returned.

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

Parameters:

this

a source Pad, returns ERROR if not.

buffer

the Buffer to push returns GST_FLOW_ERROR if not.

Returns: