Sets the state of @task to @state.
The @task must have a lock associated with it using gst_task_set_lock() when going to GST_TASK_STARTED or GST_TASK_PAUSED or this function will return %FALSE.
MT safe.
the new task state
Return: %TRUE if the state could be changed.
See Implementation
Sets the state of @task to @state.
The @task must have a lock associated with it using gst_task_set_lock() when going to GST_TASK_STARTED or GST_TASK_PAUSED or this function will return %FALSE.
MT safe.