From 5cd43e3f204611db5935b4604fe406d56a62d7bd Mon Sep 17 00:00:00 2001 From: niels Date: Wed, 21 Oct 2015 21:42:07 +0200 Subject: [PATCH] add default values for right and bottom parameters --- veejay-current/plugin-packs/lvdcrop/plugins/lvd_crop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/veejay-current/plugin-packs/lvdcrop/plugins/lvd_crop.c b/veejay-current/plugin-packs/lvdcrop/plugins/lvd_crop.c index 56cb730c..f4dd0b19 100644 --- a/veejay-current/plugin-packs/lvdcrop/plugins/lvd_crop.c +++ b/veejay-current/plugin-packs/lvdcrop/plugins/lvd_crop.c @@ -233,7 +233,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version) livido_set_string_value(port, "kind", "WIDTH" ); livido_set_int_value( port, "min", 0 ); livido_set_int_value( port, "max", 0 ); - livido_set_int_value( port, "default", 0 ); + livido_set_int_value( port, "default", 100 ); livido_set_string_value( port, "description" ,"Right"); in_params[2] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE ); @@ -254,7 +254,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version) livido_set_string_value(port, "kind", "HEIGHT" ); livido_set_int_value( port, "min", 0 ); livido_set_int_value( port, "max", 0 ); - livido_set_int_value( port, "default", 0 ); + livido_set_int_value( port, "default", 100 ); livido_set_string_value( port, "description" ,"Bottom"); //@ setup the nodes