mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Add gst_typefactory_get_list to get a list of registered typefactories.
Original commit message from CVS: Add gst_typefactory_get_list to get a list of registered typefactories.
This commit is contained in:
parent
97032976ae
commit
7e5cd5fc38
2 changed files with 14 additions and 0 deletions
|
@ -290,6 +290,18 @@ gst_type_get_list (void)
|
|||
return _gst_types;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_typefactory_get_list:
|
||||
*
|
||||
* Return a list of all typefactories
|
||||
*
|
||||
* Returns: a list of GstTypeFactories
|
||||
*/
|
||||
GList*
|
||||
gst_typefactory_get_list (void)
|
||||
{
|
||||
return _gst_typefactories;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_typefactory_find:
|
||||
|
|
|
@ -83,6 +83,8 @@ GType gst_typefactory_get_type (void);
|
|||
GstTypeFactory* gst_typefactory_new (GstTypeDefinition *definition);
|
||||
|
||||
GstTypeFactory* gst_typefactory_find (const gchar *name);
|
||||
GList* gst_typefactory_get_list (void);
|
||||
|
||||
|
||||
/* create a new type, or find/merge an existing one */
|
||||
guint16 gst_type_register (GstTypeFactory *factory);
|
||||
|
|
Loading…
Reference in a new issue