Added GI annotation for gstvideoaffinetransformationmeta apply_matrix
authorDaniel Klamt <d.klamt@pengutronix.de>
Tue, 28 May 2019 15:04:51 +0000 (17:04 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 9 Aug 2019 12:23:46 +0000 (13:23 +0100)
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

index b8c9975..0032249 100644 (file)
@@ -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.