]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/adjust.c
Validate input chroma for grain filter (planar yuv).
[vlc] / modules / video_filter / adjust.c
index 318e0a6807ec4a172815c84104919a30397573c9..8492fb6fb3c0e6dbdbe4633c276957b5db02ca81 100644 (file)
@@ -78,8 +78,8 @@ static int AdjustCallback( vlc_object_t *p_this, char const *psz_var,
 #define GAMMA_LONGTEXT N_("Set the image gamma, between 0.01 and 10. Defaults to 1.")
 
 vlc_module_begin();
-    set_description( _("Image properties filter") );
-    set_shortname( _("Image adjust" ));
+    set_description( N_("Image properties filter") );
+    set_shortname( N_("Image adjust" ));
     set_category( CAT_VIDEO );
     set_subcategory( SUBCAT_VIDEO_VFILTER );
     set_capability( "video filter2", 0 );
@@ -102,7 +102,7 @@ vlc_module_begin();
     set_callbacks( Create, Destroy );
 vlc_module_end();
 
-static const char *ppsz_filter_options[] = {
+static const char *const ppsz_filter_options[] = {
     "contrast", "brightness", "hue", "saturation", "gamma",
     "brightness-threshold", NULL
 };