Commit daf99bd9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

video_filter/adjust.c: mark these options as safe

parent f4629575
...@@ -87,17 +87,22 @@ vlc_module_begin () ...@@ -87,17 +87,22 @@ vlc_module_begin ()
add_float_with_range( "contrast", 1.0, 0.0, 2.0, add_float_with_range( "contrast", 1.0, 0.0, 2.0,
CONT_TEXT, CONT_LONGTEXT, false ) CONT_TEXT, CONT_LONGTEXT, false )
change_safe()
add_float_with_range( "brightness", 1.0, 0.0, 2.0, add_float_with_range( "brightness", 1.0, 0.0, 2.0,
LUM_TEXT, LUM_LONGTEXT, false ) LUM_TEXT, LUM_LONGTEXT, false )
change_safe()
add_integer_with_range( "hue", 0, 0, 360, add_integer_with_range( "hue", 0, 0, 360,
HUE_TEXT, HUE_LONGTEXT, false ) HUE_TEXT, HUE_LONGTEXT, false )
change_safe()
add_float_with_range( "saturation", 1.0, 0.0, 3.0, add_float_with_range( "saturation", 1.0, 0.0, 3.0,
SAT_TEXT, SAT_LONGTEXT, false ) SAT_TEXT, SAT_LONGTEXT, false )
change_safe()
add_float_with_range( "gamma", 1.0, 0.01, 10.0, add_float_with_range( "gamma", 1.0, 0.01, 10.0,
GAMMA_TEXT, GAMMA_LONGTEXT, false ) GAMMA_TEXT, GAMMA_LONGTEXT, false )
change_safe()
add_bool( "brightness-threshold", false, add_bool( "brightness-threshold", false,
THRES_TEXT, THRES_LONGTEXT, false ) THRES_TEXT, THRES_LONGTEXT, false )
change_safe()
add_shortcut( "adjust" ) add_shortcut( "adjust" )
set_callbacks( Create, Destroy ) set_callbacks( Create, Destroy )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment