Task.setEnterCallback

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

class Task
void
setEnterCallback

Parameters

enterFunc GstTaskThreadFunc
userData void*

user data passed to enter_func

notify GDestroyNotify

called when user_data is no longer referenced