Gst.Pad.prototype.pause_task

function pause_task():Boolean {
    // Gjs wrapper for gst_pad_pause_task()
}

Pause the task of pad. This function will also wait until the function executed by the task is finished if this function is not called from the task function.

Returns

a TRUE if the task could be paused or FALSE when the pad has no task.