set_state
Description:
public bool set_state (
TaskState state)
Sets the state of task to state.
The task must have a lock associated with it using set_lock
when going to GST_TASK_STARTED or GST_TASK_PAUSED or this function will return false.
MT safe.
Parameters:
Returns:
true if the state could be changed. |