[vlc-commits] adjust: change hue text/description

Thomas Guillem git at videolan.org
Thu Dec 7 14:06:30 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Dec  7 14:02:17 2017 +0100| [6a216b1f8acf91cfb4589aff1f3cb8f92da974e5] | committer: Thomas Guillem

adjust: change hue text/description

"add_float_with_range( "hue", 0, -180., +180. ..."

Even if 360 is the same than -180 in the hue case, you can't pass value outside
the range anymore (since VLC 3.0).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a216b1f8acf91cfb4589aff1f3cb8f92da974e5
---

 modules/video_filter/adjust.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index 23bf51797c..a5af57c767 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -64,8 +64,8 @@ static int AdjustCallback( vlc_object_t *p_this, char const *psz_var,
         "defined below." )
 #define CONT_TEXT N_("Image contrast (0-2)")
 #define CONT_LONGTEXT N_("Set the image contrast, between 0 and 2. Defaults to 1.")
-#define HUE_TEXT N_("Image hue (0-360)")
-#define HUE_LONGTEXT N_("Set the image hue, between 0 and 360. Defaults to 0.")
+#define HUE_TEXT N_("Image hue (-180-180)")
+#define HUE_LONGTEXT N_("Set the image hue, between -180 and 180. Defaults to 0.")
 #define SAT_TEXT N_("Image saturation (0-3)")
 #define SAT_LONGTEXT N_("Set the image saturation, between 0 and 3. Defaults to 1.")
 #define LUM_TEXT N_("Image brightness (0-2)")



More information about the vlc-commits mailing list