Task.setLock

Set the mutex used by the task. The mutex will be acquired before calling the #GstTaskFunction.

This function has to be called before calling gst_task_pause() or gst_task_start().

MT safe.

class Task
void
setLock

Parameters

mutex RecMutex

The #GRecMutex to use

Meta