gstreamer: Fix scaler-crop property get

Fix a copy/paste/replace typo. Without this fix, the last element (4th)
is always zero.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Nerijus Bendžiūnas 2025-02-16 09:21:31 +02:00 committed by Laurent Pinchart
parent 9834402f81
commit 892e85e4e3

View file

@ -39,7 +39,7 @@ static void value_set_rectangle(GValue *value, const Rectangle &rect)
GValue height = G_VALUE_INIT;
g_value_init(&height, G_TYPE_INT);
g_value_set_int(&x, size.height);
g_value_set_int(&height, size.height);
gst_value_array_append_and_take_value(value, &height);
}