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.

Parameters

list gst.element_factory.ElementFactory[]

a #GList of #GstElementFactory to filter

caps gst.caps.Caps

a #GstCaps

direction gst.types.PadDirection

a #GstPadDirection to filter on

subsetonly bool

whether to filter on caps subsets or not.

Return Value

Type: gst.element_factory.ElementFactory[]

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