gst: add some GIR array annotations
authorMark Nauwelaerts <mnauw@users.sourceforge.net>
Mon, 21 May 2018 07:14:37 +0000 (09:14 +0200)
committerMark Nauwelaerts <mnauw@users.sourceforge.net>
Mon, 21 May 2018 07:15:09 +0000 (09:15 +0200)
gst/gstmeta.c
gst/gstprotection.c

index 84d9838..89ebd9d 100644 (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.
index e6aed07..3da4013 100644 (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.
  *