gst: add some GIR array annotations

This commit is contained in:
Mark Nauwelaerts 2018-05-21 09:14:37 +02:00 committed by Sebastian Dröge
parent 7cbbdf3a90
commit d6c697e7d9
2 changed files with 6 additions and 5 deletions

View file

@ -70,7 +70,7 @@ _priv_gst_meta_initialize (void)
/**
* gst_meta_api_type_register:
* @api: an API to register
* @tags: tags for @api
* @tags: (array zero-terminated=1): tags for @api
*
* Register and return a GType for the @api and associate it with
* @tags.

View file

@ -196,14 +196,15 @@ gst_protection_select_system (const gchar ** system_identifiers)
/**
* gst_protection_filter_systems_by_available_decryptors:
* @system_identifiers: (transfer none): A null terminated array of strings
* that contains the UUID values of each protection system that is to be
* checked.
* @system_identifiers: (transfer none) (array zero-terminated=1):
* A null terminated array of strings that contains the UUID values of each
* protection system that is to be checked.
*
* Iterates the supplied list of UUIDs and checks the GstRegistry for
* all the decryptors supporting one of the supplied UUIDs.
*
* Returns: (transfer full) (nullable): A null terminated array containing all
* Returns: (transfer full) (array zero-terminated=1) (nullable):
* A null terminated array containing all
* the @system_identifiers supported by the set of available decryptors, or
* %NULL if no matches were found.
*