]> git.sesse.net Git - vlc/commitdiff
Preferences categories are *not* categories. They are *user* strings.
authorClément Stenac <zorglub@videolan.org>
Wed, 6 Sep 2006 21:05:21 +0000 (21:05 +0000)
committerClément Stenac <zorglub@videolan.org>
Wed, 6 Sep 2006 21:05:21 +0000 (21:05 +0000)
include/vlc_config_cat.h
modules/video_filter/adjust.c
modules/video_filter/gradient.c
modules/video_filter/invert.c
modules/video_filter/psychedelic.c
modules/video_filter/ripple.c
modules/video_filter/wave.c

index 7578d41a5e28dac44f8dc84da5b02748f8deae2a..f963a3f069158e1363fa3e8cc23ae46308721fd2 100644 (file)
 #define VFILTER_HELP N_( \
     "Video filters are used to postprocess the video stream." )
 
-#define VFILTER2_TITLE N_("Filters (v2)" )
-#define VFILTER2_HELP N_( \
-    "Video filters are used to postprocess the video stream." )
-
 #define SUBPIC_TITLE N_( "Subtitles/OSD")
 #define SUBPIC_HELP N_( "Miscellaneous settings related to On-Screen-Display,"\
         " subtitles and \"overlay subpictures\".")
     "In this section you can force the behavior of the subtitle demuxer, " \
     "for example by setting the subtitles type or file name.")
 
-#define VIDEO_FILTER2_TITLE N_("Video filters settings")
-#define VIDEO_FILTER2_HELP " "
-
 /*
  *  A little help for modules with unknown capabilities
  */
@@ -317,7 +310,6 @@ static struct config_category_t categories_array[] =
     { SUBCAT_VIDEO_GENERAL, VIDEO_GENERAL_TITLE, VIDEO_GENERAL_HELP },
     { SUBCAT_VIDEO_VOUT, _VOUT_TITLE, VOUT_HELP },
     { SUBCAT_VIDEO_VFILTER, VFILTER_TITLE, VFILTER_HELP },
-    { SUBCAT_VIDEO_VFILTER2, VFILTER2_TITLE, VFILTER2_HELP },
     { SUBCAT_VIDEO_SUBPIC, SUBPIC_TITLE, SUBPIC_HELP },
 
     { CAT_INPUT, INPUT_TITLE, INPUT_HELP },
index 71b6e7b474a43c69e0f8df7e25163a25ce254c9f..478397e25690985669b266867467c2f265984470 100644 (file)
@@ -73,7 +73,7 @@ vlc_module_begin();
     set_description( _("Image properties filter") );
     set_shortname( N_("Image adjust" ));
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
     set_capability( "video filter2", 0 );
 
     add_float_with_range( "contrast", 1.0, 0.0, 2.0, NULL,
index e2e59b7a1a9db11fe66b872b96e366ad5bb2beb1..97ce1aabf54fee51294db6435207cc77adfc3a7c 100644 (file)
@@ -74,7 +74,7 @@ vlc_module_begin();
     set_shortname( N_( "Gradient" ));
     set_capability( "video filter2", 0 );
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
 
     add_string( FILTER_PREFIX "mode", "gradient", NULL,
                 MODE_TEXT, MODE_LONGTEXT, VLC_FALSE );
index fdd4eda5f0cff8549c9efc73713a74b97b713bb8..f07f8901f116bca1f3aed266498f92c6c55a2df8 100644 (file)
@@ -47,7 +47,7 @@ vlc_module_begin();
     set_description( _("Invert video filter") );
     set_shortname( N_("Color inversion" ));
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
     set_capability( "video filter2", 0 );
     add_shortcut( "invert" );
     set_callbacks( Create, Destroy );
index c7fcd36e4287ae036912c21ea244fa3031c41077..4fb31b6ace11435fbece9d2d0f620ea9451f91b1 100644 (file)
@@ -52,7 +52,7 @@ vlc_module_begin();
     set_shortname( N_( "Psychedelic" ));
     set_capability( "video filter2", 0 );
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
 
     add_shortcut( "psychedelic" );
     set_callbacks( Create, Destroy );
index 0eb361b8d7e20fbd018e0673c0f6010d3624a82a..de43d2d3e20bedb9a13583c9fd55b1aaea637fe4 100644 (file)
@@ -51,7 +51,7 @@ vlc_module_begin();
     set_shortname( N_( "Ripple" ));
     set_capability( "video filter2", 0 );
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
 
     add_shortcut( "ripple" );
     set_callbacks( Create, Destroy );
index bc7dd3f006ae9532ba9fc627f665c33589a97bee..7b4fe3cb565e4e0ba75155ff949e95abe47f00c5 100644 (file)
@@ -51,7 +51,7 @@ vlc_module_begin();
     set_shortname( N_( "Wave" ));
     set_capability( "video filter2", 0 );
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
 
     add_shortcut( "wave" );
     set_callbacks( Create, Destroy );