[vlc-commits] Goom: specify the speed integer range

Jean-Baptiste Kempf git at videolan.org
Tue Aug 30 01:35:42 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 30 01:13:40 2011 +0200| [87430e95f1013cecc071e558826bd5ede50ea407] | committer: Jean-Baptiste Kempf

Goom: specify the speed integer range

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

 modules/visualization/goom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
index c4ba551..53cae4d 100644
--- a/modules/visualization/goom.c
+++ b/modules/visualization/goom.c
@@ -64,7 +64,7 @@ vlc_module_begin ()
                  WIDTH_TEXT, RES_LONGTEXT, false )
     add_integer( "goom-height", 640,
                  HEIGHT_TEXT, RES_LONGTEXT, false )
-    add_integer( "goom-speed", 6,
+    add_integer_with_range( "goom-speed", 6, 1, 10,
                  SPEED_TEXT, SPEED_LONGTEXT, false )
     set_callbacks( Open, Close )
     add_shortcut( "goom" )



More information about the vlc-commits mailing list