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>
This commit is contained in:
Sebastian Dröge 2023-01-25 13:26:08 +02:00 committed by GStreamer Marge Bot
parent a5bbc16ca5
commit 4a433f170e

View file

@ -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 *