]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/crop.c
Sepia improve by being done in YUV
[vlc] / modules / video_filter / crop.c
index 497a46b0a3029eceeed8b748cdd03214024ff425..9d1af64035a4f9dcbe49b9c396e5231db172fbd6 100644 (file)
@@ -84,7 +84,7 @@ static int FilterCallback ( vlc_object_t *, char const *,
 #define RATIO_LONGTEXT N_("Force a ratio (0 for automatic). Value is x1000: 1333 means 4/3.")
 
 #define TIME_TEXT N_("Number of images for change")
-#define TIME_LONGTEXT N_("The number of consecutive images with the same detected ratio (different from the previously detected ratio) to consider that ratio chnged and trigger recrop.")
+#define TIME_LONGTEXT N_("The number of consecutive images with the same detected ratio (different from the previously detected ratio) to consider that ratio changed and trigger recrop.")
 
 #define DIFF_TEXT N_("Number of lines for change")
 #define DIFF_LONGTEXT N_("The minimum difference in the number of detected black lines to consider that ratio changed and trigger recrop.")
@@ -108,9 +108,9 @@ vlc_module_begin ()
     set_subcategory( SUBCAT_VIDEO_VFILTER )
     set_capability( "video filter", 0 )
 
-    add_string( "crop-geometry", NULL, NULL, GEOMETRY_TEXT,
+    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
@@ -119,12 +119,12 @@ vlc_module_begin ()
 
     add_integer_with_range( "crop-ratio", 0, 0, RATIO_MAX, NULL, RATIO_TEXT,
                             RATIO_LONGTEXT, false )
-    add_integer( "autocrop-time", 25, NULL, TIME_TEXT,
+    add_integer( "autocrop-time", 25, TIME_TEXT,
                  TIME_LONGTEXT, true )
-    add_integer( "autocrop-diff", 16, NULL, DIFF_TEXT,
+    add_integer( "autocrop-diff", 16, DIFF_TEXT,
                                             DIFF_LONGTEXT, true )
 
-    add_integer( "autocrop-non-black-pixels", 3, NULL,
+    add_integer( "autocrop-non-black-pixels", 3,
                  NBP_TEXT, NBP_LONGTEXT, true )
 
     add_integer_with_range( "autocrop-skip-percent", 17, 0, 100, NULL,