VideoAggregatorPad.getCurrentBuffer

gst.buffer.Buffer getCurrentBuffer()

Returns the currently queued buffer that is going to be used for the current output frame.

This must only be called from the #GstVideoAggregatorClass::aggregate_frames virtual method, or from the #GstVideoAggregatorPadClass::prepare_frame virtual method of the aggregator pads.

The return value is only valid until #GstVideoAggregatorClass::aggregate_frames or #GstVideoAggregatorPadClass::prepare_frame returns.

Returns

The currently queued buffer