From: Wim T. <wt...@us...> - 2001-10-24 21:35:50
|
Update of /cvsroot/gstreamer/gstreamer/gst In directory usw-pr-cvs1:/tmp/cvs-serv31837 Modified Files: gsttype.c gsttype.h Log Message: Add gst_typefactory_get_list to get a list of registered typefactories. Index: gsttype.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gsttype.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- gsttype.c 2001/10/21 18:00:31 1.32 +++ gsttype.c 2001/10/24 21:35:47 1.33 @@ -290,6 +290,18 @@ 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: Index: gsttype.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gsttype.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- gsttype.h 2001/08/21 20:16:45 1.12 +++ gsttype.h 2001/10/24 21:35:47 1.13 @@ -83,6 +83,8 @@ 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); |