set_unlink_function


Description:

[ CCode ( cname = "gst_pad_set_unlink_function_full" ) ]
public void set_unlink_function (PadUnlinkFunction unlink, void* user_data = null, DestroyNotify? notify = null)

Sets the given unlink function for the pad.

It will be called when the pad is unlinked.

Note that the pad's lock is already held when the unlink function is called, so most pad functions cannot be called from within the callback.

Parameters:

this

a Pad.

unlink

the PadUnlinkFunction to set.

notify

notify called when unlink will not be used anymore.

user_data

user_data passed to notify