Gst.Registry.prototype.add_plugin

function add_plugin(plugin:Gst.Plugin):Boolean {
    // Gjs wrapper for gst_registry_add_plugin()
}

Add the plugin to the registry. The plugin-added signal will be emitted. This function will sink plugin.

plugin

the plugin to add

Returns

TRUE on success. MT safe.