Gst.Element.prototype.set_context

function set_context(context:Gst.Context):void {
    // Gjs wrapper for gst_element_set_context()
}

Sets the context of the element. Increases the refcount of the context.

MT safe.

context

the Gst.Context to set.