[vlc-devel] commit: video_filter_puzzle: change default value and limit ([2, 16] is really enough ( Rémi Duraffort )

git version control git at videolan.org
Fri Oct 16 17:07:06 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Oct 16 16:57:26 2009 +0200| [98e5669109b3a70e7b97f11203ac887826917241] | committer: Rémi Duraffort 

video_filter_puzzle: change default value and limit ([2, 16] is really enough
and 4 is good as a default value)

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

 modules/gui/qt4/ui/video_effects.ui |    4 ++--
 modules/video_filter/puzzle.c       |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/ui/video_effects.ui b/modules/gui/qt4/ui/video_effects.ui
index 221d29e..2f9f45a 100644
--- a/modules/gui/qt4/ui/video_effects.ui
+++ b/modules/gui/qt4/ui/video_effects.ui
@@ -362,7 +362,7 @@
           <number>16</number>
          </property>
          <property name="value" >
-          <number>3</number>
+          <number>4</number>
          </property>
         </widget>
        </item>
@@ -375,7 +375,7 @@
           <number>16</number>
          </property>
          <property name="value" >
-          <number>3</number>
+          <number>4</number>
          </property>
         </widget>
        </item>
diff --git a/modules/video_filter/puzzle.c b/modules/video_filter/puzzle.c
index 7113012..2505401 100644
--- a/modules/video_filter/puzzle.c
+++ b/modules/video_filter/puzzle.c
@@ -58,9 +58,9 @@ vlc_module_begin()
     set_category( CAT_VIDEO )
     set_subcategory( SUBCAT_VIDEO_VFILTER )
 
-    add_integer_with_range( CFG_PREFIX "rows", 4, 1, 128, NULL,
+    add_integer_with_range( CFG_PREFIX "rows", 4, 2, 16, NULL,
                             ROWS_TEXT, ROWS_LONGTEXT, false )
-    add_integer_with_range( CFG_PREFIX "cols", 4, 1, 128, NULL,
+    add_integer_with_range( CFG_PREFIX "cols", 4, 2, 16, NULL,
                             COLS_TEXT, COLS_LONGTEXT, false )
     add_bool( CFG_PREFIX "black-slot", false, NULL,
               BLACKSLOT_TEXT, BLACKSLOT_LONGTEXT, false )




More information about the vlc-devel mailing list