Task.setLeaveCallback

Call leave_func when the task function of task is left. user_data will be passed to leave_func and notify will be called when user_data is no longer referenced.

class Task
void
setLeaveCallback

Parameters

leaveFunc GstTaskThreadFunc
userData void*

user data passed to leave_func

notify GDestroyNotify

called when user_data is no longer referenced