elementfactory: Annotate create_full and make_full to take arrays

We need the array annotation for it to be usable from the introspection side.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1427>
This commit is contained in:
Corentin Noël 2021-12-08 12:27:04 +01:00 committed by GStreamer Marge Bot
parent 9e0c2c4a09
commit 9ebcfb5221

View file

@ -456,8 +456,8 @@ cleanup:
* gst_element_factory_create_with_properties:
* @factory: factory to instantiate
* @n: count of properties
* @names: (nullable): array of properties names
* @values: (nullable): array of associated properties values
* @names: (nullable) (array length=n): array of properties names
* @values: (nullable) (array length=n): array of associated properties values
*
* Create a new element of the type defined by the given elementfactory.
* The supplied list of properties, will be passed at object construction.
@ -658,8 +658,8 @@ gst_element_factory_create (GstElementFactory * factory, const gchar * name)
* gst_element_factory_make_with_properties:
* @factoryname: a named factory to instantiate
* @n: count of properties
* @names: (nullable): array of properties names
* @values: (nullable): array of associated properties values
* @names: (nullable) (array length=n): array of properties names
* @values: (nullable) (array length=n): array of associated properties values
*
* Create a new element of the type defined by the given elementfactory.
* The supplied list of properties, will be passed at object construction.