CollectPads.setFunction
void setFunction(gstbase.types.CollectPadsFunction func)CollectPads provides a default collection algorithm that will determine the oldest buffer available on all of its pads, and then delegate to a configured callback. However, if circumstances are more complicated and/or more control is desired, this sets a callback that will be invoked instead when all the pads added to the collection have buffers queued. Evidently, this callback is not compatible with [gstbase.collect_pads.CollectPads.setBufferFunction] callback. If this callback is set, the former will be unset.
MT safe.
Parameters
func | the function to set |