From 3ab2023ed8535ab24e6ac18a92a7c0a4a20c24a8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 1 Dec 2020 09:31:48 +0100 Subject: [PATCH] videometa: gir annotate the size of plane array in new API Fix #838 Part-of: --- gst-libs/gst/video/gstvideometa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/video/gstvideometa.c b/gst-libs/gst/video/gstvideometa.c index 544f22579e..6bb45dc081 100644 --- a/gst-libs/gst/video/gstvideometa.c +++ b/gst-libs/gst/video/gstvideometa.c @@ -460,7 +460,7 @@ gst_video_meta_set_alignment (GstVideoMeta * meta, GstVideoAlignment alignment) /** * gst_video_meta_get_plane_size: * @meta: a #GstVideoMeta - * @plane_size: (out): array used to store the plane sizes + * @plane_size: (out caller-allocates) (array fixed-size=4): array used to store the plane sizes * * Compute the size, in bytes, of each video plane described in @meta including * any padding and alignment constraint defined in @meta->alignment. @@ -483,7 +483,7 @@ gst_video_meta_get_plane_size (GstVideoMeta * meta, /** * gst_video_meta_get_plane_height: * @meta: a #GstVideoMeta - * @plane_height: (out): array used to store the plane height + * @plane_height: (out caller-allocates) (array fixed-size=4): array used to store the plane height * * Compute the padded height of each plane from @meta (padded size * divided by stride).