CollectPads.peek

Peek at the buffer currently queued in data. This function should be called with the pads STREAM_LOCK held, such as in the callback handler.

MT safe.

Parameters

data gstbase.collect_data.CollectData

the data to use

Return Value

Type: gst.buffer.Buffer

The buffer in data or null if no buffer is queued. should unref the buffer after usage.