Gst.Registry.prototype.find_plugin

function find_plugin(name:String):Gst.Plugin {
    // Gjs wrapper for gst_registry_find_plugin()
}

Find the plugin with the given name in the registry. The plugin will be reffed; caller is responsible for unreffing.

name

the plugin name to find

Returns

the plugin with the given name or NULL if the plugin was not found. Gst.Object.prototype.unref after usage. MT safe.