[vlc-commits] video_filter/adjust.c: mark these options as safe
Jean-Paul Saman
git at videolan.org
Wed May 30 13:52:59 CEST 2012
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed May 2 16:00:01 2012 +0200| [daf99bd91c522b3ce7da3f0f03201ecf188edd2c] | committer: Jean-Paul Saman
video_filter/adjust.c: mark these options as safe
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=daf99bd91c522b3ce7da3f0f03201ecf188edd2c
---
modules/video_filter/adjust.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index c2f6649..7159b3c 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -87,17 +87,22 @@ vlc_module_begin ()
add_float_with_range( "contrast", 1.0, 0.0, 2.0,
CONT_TEXT, CONT_LONGTEXT, false )
+ change_safe()
add_float_with_range( "brightness", 1.0, 0.0, 2.0,
LUM_TEXT, LUM_LONGTEXT, false )
+ change_safe()
add_integer_with_range( "hue", 0, 0, 360,
HUE_TEXT, HUE_LONGTEXT, false )
+ change_safe()
add_float_with_range( "saturation", 1.0, 0.0, 3.0,
SAT_TEXT, SAT_LONGTEXT, false )
+ change_safe()
add_float_with_range( "gamma", 1.0, 0.01, 10.0,
GAMMA_TEXT, GAMMA_LONGTEXT, false )
-
+ change_safe()
add_bool( "brightness-threshold", false,
THRES_TEXT, THRES_LONGTEXT, false )
+ change_safe()
add_shortcut( "adjust" )
set_callbacks( Create, Destroy )
More information about the vlc-commits
mailing list