Gst.Registry.prototype.lookup

function lookup(filename:String):Gst.Plugin {
    // Gjs wrapper for gst_registry_lookup()
}

Look up a plugin in the given registry with the given filename. If found, plugin is reffed.

filename

the name of the file to look up

Returns

the Gst.Plugin if found, or NULL if not. Gst.Object.prototype.unref after usage.