set_activate_function
Description:
[ CCode ( cname = "gst_pad_set_activate_function_full" ) ]
public void set_activate_function (PadActivateFunction activate, void* user_data = null, DestroyNotify? notify = null)
public void set_activate_function (PadActivateFunction activate, void* user_data = null, DestroyNotify? notify = null)
Sets the given activate function for this.
The activate function will dispatch to activate_mode to perform the actual activation. Only makes sense to set on sink pads.
Call this function if your sink pad can start a pull-based task.
Parameters:
| this |
a Pad. |
| activate |
the PadActivateFunction to set. |
| notify |
notify called when |
| user_data |
user_data passed to |