CollectPads.setBufferFunction

Set the callback function and user data that will be called with the oldest buffer when all pads have been collected, or null on EOS. If a buffer is passed, the callback owns a reference and must unref it.

MT safe.

class CollectPads
void
setBufferFunction

Parameters

func gstbase.types.CollectPadsBufferFunction

the function to set