load_file

function load_file(filename:String):Gst.Plugin {
    // Gjs wrapper for gst_plugin_load_file()
}

Loads the given plugin and refs it. Caller needs to unref after use.

filename

the plugin filename to load

Returns

a reference to the existing loaded GstPlugin, a reference to the newly-loaded GstPlugin, or NULL if an error occurred.