ElementFactory.listFilter

Filter out all the elementfactories in @list that can handle @caps in the given direction.

If @subsetonly is %TRUE, then only the elements whose pads templates are a complete superset of @caps will be returned. Else any element whose pad templates caps can intersect with @caps will be returned.

class ElementFactory
static
listFilter

Parameters

list ListG

a #GList of #GstElementFactory to filter

caps Caps

a #GstCaps

direction GstPadDirection

a #GstPadDirection to filter on

subsetonly bool

whether to filter on caps subsets or not.

Return Value

Type: ListG

a #GList of #GstElementFactory elements that match the given requisites. Use #gst_plugin_feature_list_free after usage.

Meta