push
Description:
public FlowReturn push (
owned Buffer buffer)
Pushes a buffer to the peer of pad.
This function will call an installed pad block before triggering any installed pad probes.
If the caps on buffer are different from the currently configured caps on pad, this function will call any installed
setcaps function on pad (see set_setcaps_function).
In case of failure to renegotiate the new format, this function returns
NOT_NEGOTIATED.
The function proceeds calling chain on the peer pad and returns the value from
that function. If pad 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:
| buffer |
the Buffer to push returns GST_FLOW_ERROR if not. |
Returns:
| a FlowReturn from the peer pad. MT safe. |