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:
parent
9834402f81
commit
892e85e4e3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue