plugin: add separate category for video splitters (fixes #9967)

This commit is contained in:
Rémi Denis-Courmont 2015-10-25 22:20:57 +02:00
parent f2989d2eb2
commit 695a6ba58b
6 changed files with 11 additions and 3 deletions

View File

@ -82,6 +82,10 @@
#define SUBPIC_TITLE N_( "Subtitles / OSD")
#define SUBPIC_HELP N_( "Settings related to On-Screen-Display,"\
" subtitles and \"overlay subpictures\"")
#define SPLITTER_TITLE N_("Splitters")
#define SPLITTER_HELP N_("Video splitters separate the stream into multiple videos.")
/*
#define TEXT_HELP N_( \
"Use the settings of the \"freetype\" module to choose the font you " \
@ -202,6 +206,7 @@ static const struct config_category_t categories_array[] =
{ SUBCAT_VIDEO_VOUT, _VOUT_TITLE, VOUT_HELP },
{ SUBCAT_VIDEO_VFILTER, VFILTER_TITLE, VFILTER_HELP },
{ SUBCAT_VIDEO_SUBPIC, SUBPIC_TITLE, SUBPIC_HELP },
{ SUBCAT_VIDEO_SPLITTER, SPLITTER_TITLE, SPLITTER_HELP },
{ CAT_INPUT, INPUT_TITLE, INPUT_HELP },
{ SUBCAT_INPUT_GENERAL, INPUT_TITLE, INPUT_HELP },

View File

@ -154,6 +154,7 @@ enum vlc_module_properties
#define SUBCAT_VIDEO_VOUT 302
#define SUBCAT_VIDEO_VFILTER 303
#define SUBCAT_VIDEO_SUBPIC 305
#define SUBCAT_VIDEO_SPLITTER 306
#define CAT_INPUT 4
#define SUBCAT_INPUT_GENERAL 401

View File

@ -57,7 +57,7 @@ vlc_module_begin ()
set_shortname( N_("Clone" ))
set_help(CLONE_HELP)
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_subcategory( SUBCAT_VIDEO_SPLITTER )
add_integer( CFG_PREFIX "count", 2, COUNT_TEXT, COUNT_LONGTEXT, false )
add_module_list( CFG_PREFIX "vout-list", "vout display", NULL,

View File

@ -83,7 +83,7 @@ vlc_module_begin()
set_help(PANORAMIX_HELP)
set_capability( "video splitter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_subcategory( SUBCAT_VIDEO_SPLITTER )
add_integer( CFG_PREFIX "cols", -1, COLS_TEXT, COLS_LONGTEXT, true )
change_integer_range( -1, COL_MAX )

View File

@ -69,7 +69,7 @@ vlc_module_begin()
set_shortname( N_("Image wall" ))
set_capability( "video splitter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_subcategory( SUBCAT_VIDEO_SPLITTER )
add_integer( CFG_PREFIX "cols", 3, COLS_TEXT, COLS_LONGTEXT, false )
change_integer_range( 1, COL_MAX )

View File

@ -1597,6 +1597,8 @@ vlc_module_begin ()
set_subcategory( SUBCAT_VIDEO_VFILTER )
add_module_list_cat( "video-filter", SUBCAT_VIDEO_VFILTER, NULL,
VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, false )
set_subcategory( SUBCAT_VIDEO_SPLITTER )
add_module_list( "video-splitter", "video splitter", NULL,
VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false )
add_obsolete_string( "vout-filter" ) /* since 2.0.0 */