Gst.Task.prototype.set_pool

function set_pool(pool:Gst.TaskPool):void {
    // Gjs wrapper for gst_task_set_pool()
}

Set pool as the new GstTaskPool for task. Any new streaming threads that will be created by task will now use pool.

MT safe.

pool

a Gst.TaskPool