Sets our main struct and passes it to the parent class
Calls the GstTypeFindFunction associated with this factory.
Gets the GstCaps associated with a typefind factory.
Gets the extensions associated with a GstTypeFindFactory. The returned array should not be changed. If you need to change stuff in it, you should copy it using g_strdupv(). This function may return NULL to indicate a 0-length list.
the main Gtk struct as a void*
Get the main Gtk struct
Check whether the factory has a typefind function. Typefind factories without typefind functions are a last-effort fallback mechanism to e.g. assume a certain media type based on the file extension.
Gets the list of all registered typefind factories. You must free the list using gst_plugin_feature_list_free(). The returned factories are sorted by highest rank first, and then by factory name. Free-function: gst_plugin_feature_list_free
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
Gets the rank of a plugin feature.
Get the plugin that provides this feature.
Get the name of the plugin that provides this feature. Since 1.2.0
Loads the plugin containing feature if it's not already loaded. feature is unaffected; use the return value instead.
Copies the list of features. Caller should call gst_plugin_feature_list_free when done with the list.
Unrefs each member of list, then frees the list.
Checks whether the given plugin feature is at least the required version
Compares the two given GstPluginFeature instances. This function can be used as a GCompareFunc when sorting by rank and then by name.
These functions allow querying informations about registered typefind functions. How to create and register these functions is described in the section "Writing typefind functions".
The above example shows how to write a very simple typefinder that identifies the given data. You can get quite a bit more complicated than that though.
Last reviewed on 2005-11-09 (0.9.4)