Pad.addProbe

Be notified of different states of pads. The provided callback is called for every state that matches mask.

Parameters

mask GstPadProbeType

the probe mask

callback GstPadProbeCallback

GstPadProbeCallback that will be called with notifications of the pad state

userData void*

user data passed to the callback. closure

destroyData GDestroyNotify

GDestroyNotify for user_data

Return Value

Type: gulong

an id or 0 on error. The id can be used to remove the probe with gst_pad_remove_probe(). MT safe.

Meta