From 4a433f170ebee0a49459f4bf401634c7534f13e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Jan 2023 13:26:08 +0200 Subject: [PATCH] gst: Fix gst_type_find_peek() return value annotation It's not possible to annotate a in-parameter for a return value array as the array length. Both are assumed to have the same direction and the current annotation causes the size parameter to be considered an out parameter. Part-of: --- subprojects/gstreamer/gst/gsttypefind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer/gst/gsttypefind.c b/subprojects/gstreamer/gst/gsttypefind.c index bd48bf2..3ec16a6 100644 --- a/subprojects/gstreamer/gst/gsttypefind.c +++ b/subprojects/gstreamer/gst/gsttypefind.c @@ -115,7 +115,7 @@ gst_type_find_register (GstPlugin * plugin, const gchar * name, guint rank, * the stream. The returned memory is valid until the typefinding function * returns and must not be freed. * - * Returns: (transfer none) (array length=size) (nullable): the + * Returns: (transfer none) (nullable): the * requested data, or %NULL if that data is not available. */ const guint8 * -- 2.7.4