Sets our main struct and passes it to the parent class.
Checks if the factory can sink all possible capabilities.
Checks if the factory can sink any possible capability.
Checks if the factory can src all possible capabilities.
Checks if the factory can src any possible capability.
Create a new element of the type defined by the given elementfactory. It will be given the name supplied, since all elements require a name as their first argument.
Get the main Gtk struct
Get the #GType for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with gst_plugin_feature_load().
Get the metadata on @factory with @key.
Get the available keys for the metadata on @factory.
Gets the number of pad_templates in this factory.
Gets the #GList of #GstStaticPadTemplate for this factory.
the main Gtk struct as a void*
Gets a %NULL-terminated array of protocols this element supports or %NULL if no protocols are supported. You may not change the contents of the returned array, as it is still owned by the element factory. Use g_strdupv() to make a copy of the protocol string array if you need to.
Gets the type of URIs the element supports or #GST_URI_UNKNOWN if none.
Check if @factory implements the interface with name @interfacename.
Check if @factory is of the given types.
Search for an element factory of the given name. Refs the returned element factory; caller is responsible for unreffing.
Filter out all the elementfactories in @list that can handle @caps in the given direction.
Get a list of factories that match the given @type. Only elements with a rank greater or equal to @minrank will be returned. The list of factories is returned by decreasing rank.
Create a new element of the type defined by the given element factory. The element will receive a guaranteed unique name, consisting of the element factory name and a number.
Create a new element of the type defined by the given element factory. If name is %NULL, then the element will receive a guaranteed unique name, consisting of the element factory name and a number. If name is given, it will be given the name supplied.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Copies the list of features. Caller should call @gst_plugin_feature_list_free when done with the list.
Debug the plugin feature names in @list.
Unrefs each member of @list, then frees the list.
Compares the two given #GstPluginFeature instances. This function can be used as a #GCompareFunc when sorting by rank and then by name.
Checks whether the given plugin feature is at least the required version
Get the plugin that provides this feature.
Get the name of the plugin that provides this feature.
Gets the rank of a plugin feature.
Loads the plugin containing @feature if it's not already loaded. @feature is unaffected; use the return value instead.
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
#GstElementFactory is used to create instances of elements. A GstElementFactory can be added to a #GstPlugin as it is also a #GstPluginFeature.
Use the gst_element_factory_find() and gst_element_factory_create() functions to create element instances or use gst_element_factory_make() as a convenient shortcut.
The following code example shows you how to create a GstFileSrc element.
## Using an element factory |[<!-- language="C" --> #include <gst/gst.h>
GstElement *src; GstElementFactory *srcfactory;
gst_init (&argc, &argv);
srcfactory = gst_element_factory_find ("filesrc"); g_return_if_fail (srcfactory != NULL); src = gst_element_factory_create (srcfactory, "src"); g_return_if_fail (src != NULL); ... ]|