gst: Fix gst_type_find_peek() return value annotation
authorSebastian Dröge <sebastian@centricular.com>
Wed, 25 Jan 2023 11:26:08 +0000 (13:26 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Jan 2023 00:54:10 +0000 (00:54 +0000)
commit4a433f170ebee0a49459f4bf401634c7534f13e9
treebb1259db497bb0eb14d019f45e5dac83d29d0615
parenta5bbc16ca5f4c9a705ae922e890082ce43732b91
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3814>
subprojects/gstreamer/gst/gsttypefind.c