is 0 if the pad was end-of-stream.
CollectPads.flush
uint flush(gstbase.collect_data.CollectData data, uint size)Flush size bytes from the pad data.
This function should be called with pads STREAM_LOCK held, such as in the callback.
MT safe.
Parameters
data | the data to use |
size | the number of bytes to flush |
Returns
The number of bytes flushed This can be less than size and