Task.create

Create a new Task that will repeadedly call the provided func with data as a parameter. Typically the task will run in a new thread. The function cannot be changed after the task has been created. You must create a new GstTask to change the function.

class Task
static
create

Parameters

func GstTaskFunction

The GstTaskFunction to use

data void*

User data to pass to func

Return Value

Type: Task

A new GstTask. MT safe.

Meta