From 317fba25a6e75fdbf31c541a21bdeb8df41a5b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Jul 2011 10:09:11 +0100 Subject: [PATCH] elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names --- gst/gstelementfactory.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c index 4c28e82805..23a25387d1 100644 --- a/gst/gstelementfactory.c +++ b/gst/gstelementfactory.c @@ -341,7 +341,8 @@ detailserror: /** * gst_element_factory_create: * @factory: factory to instantiate - * @name: name of new element + * @name: (allow-none): name of new element, or NULL to automatically create + * a unique name * * 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 @@ -426,7 +427,8 @@ no_element: /** * gst_element_factory_make: * @factoryname: a named factory to instantiate - * @name: (allow-none): name of new element + * @name: (allow-none): name of new element, or NULL to automatically create + * a unique name * * 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,