Sets the state of task to state.
The task must have a lock associated with it using Task.setLock when going to GST_TASK_STARTED or GST_TASK_PAUSED or this function will return FALSE.
MT safe.
the new task state
TRUE if the state could be changed.
Sets the state of task to state.
The task must have a lock associated with it using Task.setLock when going to GST_TASK_STARTED or GST_TASK_PAUSED or this function will return FALSE.
MT safe.