Gst.Registry.prototype.plugin_filter

function plugin_filter(filter:Gst.PluginFilter, first:Boolean):[Gst.Plugin] {
    // Gjs wrapper for gst_registry_plugin_filter()
}

Runs a filter against all plugins in the registry and returns a GLib.List with the results. If the first flag is set, only the first match is returned (as a list with a single object). Every plugin is reffed; use list_free after use, which will unref again.

filter

the filter to use

first

only return first match

Returns

a GLib.List of Gst.Plugin. Use list_free after usage. MT safe.