Gst.Registry.prototype.feature_filter

function feature_filter(filter:Gst.PluginFeatureFilter, first:Boolean):[Gst.PluginFeature] {
    // Gjs wrapper for gst_registry_feature_filter()
}

Runs a filter against all features of the plugins in the registry and returns a GList with the results. If the first flag is set, only the first match is returned (as a list with a single object).

filter

the filter to use

first

only return first match

Returns

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