From 394ad27507842f4f75648b9d8127223e19c36104 Mon Sep 17 00:00:00 2001 From: Daniel Klamt Date: Tue, 28 May 2019 17:04:51 +0200 Subject: [PATCH] Added GI annotation for gstvideoaffinetransformationmeta apply_matrix The problem is that Gobject Introspections does not understand the const gfloat matrix[16] as an matrix but as an array of gfloasts but as just one gfloat. To fix this i added the annotation to the parameter descriptions. --- gst-libs/gst/video/gstvideoaffinetransformationmeta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/video/gstvideoaffinetransformationmeta.c b/gst-libs/gst/video/gstvideoaffinetransformationmeta.c index b8c9975..0032249 100644 --- a/gst-libs/gst/video/gstvideoaffinetransformationmeta.c +++ b/gst-libs/gst/video/gstvideoaffinetransformationmeta.c @@ -138,7 +138,7 @@ gst_buffer_add_video_affine_transformation_meta (GstBuffer * buffer) /** * gst_video_affine_transformation_meta_apply_matrix: * @meta: a #GstVideoAffineTransformationMeta - * @matrix: a 4x4 transformation matrix to be applied + * @matrix: (array fixed-size=16): a 4x4 transformation matrix to be applied * * Apply a transformation using the given 4x4 transformation matrix. * Performs the multiplication, meta->matrix X matrix. -- 2.7.4