[ NoWrapper ]
public virtual Buffer clip (AggregatorPad aggregator_pad, Buffer buf)
Called when a buffer is received on a sink pad, the task of clipping it and translating it to the current segment falls on the subclass.
The function should use the segment of data and the negotiated media type on the pad to perform clipping of input buffer. This function takes ownership of buf and should output a buffer or return NULL in if the buffer should be dropped.
| this |
the Aggregator |
| aggregator_pad | |
| buf |
a Buffer |
|
a Buffer. |