Gst.Task.prototype.pause

function pause():Boolean {
    // Gjs wrapper for gst_task_pause()
}

Pauses task. This method can also be called on a task in the stopped state, in which case a thread will be started and will remain in the paused state. This function does not wait for the task to complete the paused state.

Returns

true if the task could be paused. MT safe.