CollectPads.flush

Flush size bytes from the pad data.

This function should be called with pads STREAM_LOCK held, such as in the callback.

MT safe.

class CollectPads
uint
flush

Parameters

data GstCollectData*

the data to use

size uint

the number of bytes to flush

Return Value

Type: uint

The number of bytes flushed This can be less than size and is 0 if the pad was end-of-stream.