A function that will be called when inbuffer is received on the pad managed by data in the collectpad object pads.
inbuffer
data
pads
The function should use the segment of data and the negotiated media type on the pad to perform clipping of inbuffer.
This function takes ownership of inbuffer and should output a buffer in outbuffer or return %NULL in outbuffer if the buffer should be dropped.
outbuffer
a #GstCollectPads
a #GstCollectData
the input #GstBuffer
A function that will be called when
inbuffer
is received on the pad managed bydata
in the collectpad objectpads
.The function should use the segment of
data
and the negotiated media type on the pad to perform clipping ofinbuffer
.This function takes ownership of
inbuffer
and should output a buffer inoutbuffer
or return %NULL inoutbuffer
if the buffer should be dropped.