]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/crop.c
Qt: fix compilation on Win32, and use a decent minimum
[vlc] / modules / video_filter / crop.c
index 9838850e2e1fbeccab020dd1e480e4a1fba3a811..b5e946097a7e7acbe0c90446d0752ff0f7f706ec 100644 (file)
@@ -94,7 +94,7 @@ static int FilterCallback ( vlc_object_t *, char const *,
                         " that the line is black.")
 
 #define SKIP_TEXT N_("Skip percentage (%)")
-#define SKIP_LONGTEXT N_("Percentage of the line to consider while checking for black lines. This allows to skip logos in black borders and crop them anyway.")
+#define SKIP_LONGTEXT N_("Percentage of the line to consider while checking for black lines. This allows skipping logos in black borders and crop them anyway.")
 
 #define LUM_TEXT N_("Luminance threshold ")
 #define LUM_LONGTEXT N_("Maximum luminance to consider a pixel as black (0-255).")
@@ -110,14 +110,14 @@ vlc_module_begin ()
 
     add_string( "crop-geometry", NULL, GEOMETRY_TEXT,
                                              GEOMETRY_LONGTEXT, false )
-    add_bool( "autocrop", false, NULL, AUTOCROP_TEXT,
+    add_bool( "autocrop", false, AUTOCROP_TEXT,
                                    AUTOCROP_LONGTEXT, false )
 
 #ifdef BEST_AUTOCROP
-    add_integer_with_range( "autocrop-ratio-max", 2405, 0, RATIO_MAX, NULL,
+    add_integer_with_range( "autocrop-ratio-max", 2405, 0, RATIO_MAX,
                             RATIOMAX_TEXT, RATIOMAX_LONGTEXT, true )
 
-    add_integer_with_range( "crop-ratio", 0, 0, RATIO_MAX, NULL, RATIO_TEXT,
+    add_integer_with_range( "crop-ratio", 0, 0, RATIO_MAX, RATIO_TEXT,
                             RATIO_LONGTEXT, false )
     add_integer( "autocrop-time", 25, TIME_TEXT,
                  TIME_LONGTEXT, true )
@@ -127,10 +127,10 @@ vlc_module_begin ()
     add_integer( "autocrop-non-black-pixels", 3,
                  NBP_TEXT, NBP_LONGTEXT, true )
 
-    add_integer_with_range( "autocrop-skip-percent", 17, 0, 100, NULL,
+    add_integer_with_range( "autocrop-skip-percent", 17, 0, 100,
                             SKIP_TEXT, SKIP_LONGTEXT, true )
 
-    add_integer_with_range( "autocrop-luminance-threshold", 40, 0, 128, NULL,
+    add_integer_with_range( "autocrop-luminance-threshold", 40, 0, 128,
                             LUM_TEXT, LUM_LONGTEXT, true )
 #endif //BEST_AUTOCROP