Commit 1fa3f9dd authored by Clément Stenac's avatar Clément Stenac

Preferences categories are *not* categories. They are *user* strings.

parent 91e0b51e
......@@ -86,10 +86,6 @@
#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\".")
......@@ -231,9 +227,6 @@
"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 },
......
......@@ -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,
......
......@@ -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 );
......
......@@ -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 );
......
......@@ -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 );
......
......@@ -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 );
......
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment