Gst.Pad.prototype.push
function push(buffer:Gst.Buffer):Gst.FlowReturn { // Gjs wrapper for gst_pad_push() }
Pushes a buffer to the peer of pad.
This function will call installed block probes before triggering any installed data probes.
The function proceeds calling Gst.Pad.prototype.chain on the peer pad and returns the value from that function. If pad has no peer, #GST_FLOW_NOT_LINKED will be returned.
In all cases, success or failure, the caller loses its reference to buffer after calling this function.
- buffer
the Gst.Buffer to push returns GST_FLOW_ERROR if not.
- Returns
a Gst.FlowReturn from the peer pad. MT safe.