From 100cd3ca194ea2c7f8d0f70a8a7b053a89048bad Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 21 Apr 2002 14:06:14 +0000 Subject: [PATCH] adapted docs Original commit message from CVS: adapted docs --- gst/gstelementfactory.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c index 3b08b97cf4..b5969c3715 100644 --- a/gst/gstelementfactory.c +++ b/gst/gstelementfactory.c @@ -209,7 +209,7 @@ gst_element_factory_new (const gchar *name, GType type, * @name: name of new element * * Create a new element of the type defined by the given elementfactory. - * It wll be given the name supplied, since all elements require a name as + * It will be given the name supplied, since all elements require a name as * their first argument. * * Returns: new #GstElement @@ -260,9 +260,10 @@ gst_element_factory_create (GstElementFactory *factory, * @factoryname: a named factory to instantiate * @name: name of new element * - * Create a new element of the type defined by the given elementfactory. - * It wll be given the name supplied, since all elements require a name as - * their first argument. + * 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. * * Returns: new #GstElement (or NULL if unable to create element) */ -- 2.34.1