mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names
This commit is contained in:
parent
3ebec93515
commit
317fba25a6
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue