Pad.startTask

Starts a task that repeatedly calls @func with @user_data. This function is mostly used in pad activation functions to start the dataflow. The #GST_PAD_STREAM_LOCK of @pad will automatically be acquired before @func is called.

class Pad
bool
startTask

Parameters

func GstTaskFunction

the task function to call

userData void*

user data passed to the task function

notify GDestroyNotify

called when @user_data is no longer referenced

Return: a %TRUE if the task could be started.

Meta