GstVideoAggregatorClass

Members

Variables

GstReserved
void*[20] GstReserved;
aggregateFrames
GstFlowReturn function(GstVideoAggregator* videoaggregator, GstBuffer* outbuffer) aggregateFrames;

Lets subclasses aggregate frames that are ready. Subclasses should iterate the GstElement.sinkpads and use the already mapped #GstVideoFrame from gstvideo.video_aggregator_pad.VideoAggregatorPad.getPreparedFrame or directly use the #GstBuffer from gstvideo.video_aggregator_pad.VideoAggregatorPad.getCurrentBuffer if it needs to map the buffer in a special way. The result of the aggregation should land in @outbuffer.

createOutputBuffer
GstFlowReturn function(GstVideoAggregator* videoaggregator, GstBuffer** outbuffer) createOutputBuffer;

Optional. Lets subclasses provide a #GstBuffer to be used as @outbuffer of the #aggregate_frames vmethod.

findBestFormat
void function(GstVideoAggregator* vagg, GstCaps* downstreamCaps, GstVideoInfo* bestInfo, bool* atLeastOneAlpha) findBestFormat;

Optional. Lets subclasses decide of the best common format to use.

parentClass
GstAggregatorClass parentClass;
updateCaps
GstCaps* function(GstVideoAggregator* videoaggregator, GstCaps* caps) updateCaps;

Optional. Lets subclasses update the #GstCaps representing the src pad caps before usage. Return null to indicate failure.