Gst.Element.prototype.get_factory

function get_factory():Gst.ElementFactory {
    // Gjs wrapper for gst_element_get_factory()
}

Retrieves the factory that was used to create this element.

Returns

the Gst.ElementFactory used for creating this element. no refcounting is needed.