Chain a buffer to pad.
The function returns GST_FLOW_WRONG_STATE if the pad was flushing.
If the caps on buffer are different from the current caps on pad, this
function will call any setcaps function (see gst_pad_set_setcaps_function())
installed on pad. If the new caps are not acceptable for pad, 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.
Chain a buffer to pad. The function returns GST_FLOW_WRONG_STATE if the pad was flushing. If the caps on buffer are different from the current caps on pad, this function will call any setcaps function (see gst_pad_set_setcaps_function()) installed on pad. If the new caps are not acceptable for pad, 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.