From a7456eec0d568e2bf364e694a9673208924c7bc9 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 21 May 2018 09:14:37 +0200 Subject: [PATCH] gst: add some GIR array annotations --- gst/gstmeta.c | 2 +- gst/gstprotection.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gst/gstmeta.c b/gst/gstmeta.c index 84d9838..89ebd9d 100644 --- a/gst/gstmeta.c +++ b/gst/gstmeta.c @@ -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. diff --git a/gst/gstprotection.c b/gst/gstprotection.c index e6aed07..3da4013 100644 --- a/gst/gstprotection.c +++ b/gst/gstprotection.c @@ -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. * -- 2.7.4