selected_samples


Description:

[ Version ( since = "1.18" ) ]
public void selected_samples (ClockTime pts, ClockTime dts, ClockTime duration, Structure? info)

Subclasses should call this when they have prepared the buffers they will aggregate for each of their sink pads, but before using any of the properties of the pads that govern *how* aggregation should be performed, for example z-index for video aggregators.

If update_segment is used by the subclass, it MUST be called before selected_samples.

This function MUST only be called from the GstAggregatorClass::aggregate() function.

Parameters:

pts

The presentation timestamp of the next output buffer

dts

The decoding timestamp of the next output buffer

duration

The duration of the next output buffer

info

a Structure containing additional information