Skip to content
Snippets Groups Projects
Commit 317fba25 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names

parent 3ebec935
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,8 @@ detailserror: ...@@ -341,7 +341,8 @@ detailserror:
/** /**
* gst_element_factory_create: * gst_element_factory_create:
* @factory: factory to instantiate * @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. * 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 * It will be given the name supplied, since all elements require a name as
...@@ -426,7 +427,8 @@ no_element: ...@@ -426,7 +427,8 @@ no_element:
/** /**
* gst_element_factory_make: * gst_element_factory_make:
* @factoryname: a named factory to instantiate * @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. * 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, * If name is NULL, then the element will receive a guaranteed unique name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment