Commit c8643659 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config: remove advanced from add_module_list()

parent e66e6b6b
......@@ -389,7 +389,7 @@ VLC_METADATA_EXPORTS
add_string_inner(CONFIG_ITEM_MODULE, name, text, longtext, value) \
vlc_config_set (VLC_CONFIG_CAPABILITY, (const char *)(psz_caps));
#define add_module_list( name, psz_caps, value, text, longtext, advc ) \
#define add_module_list(name, psz_caps, value, text, longtext) \
add_string_inner(CONFIG_ITEM_MODULE_LIST, name, text, longtext, value) \
vlc_config_set (VLC_CONFIG_CAPABILITY, (const char *)(psz_caps));
......
......@@ -152,8 +152,8 @@ vlc_module_begin ()
add_string( CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
false )
add_module_list( CFG_PREFIX "vfilter", "video filter",
NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
add_module_list(CFG_PREFIX "vfilter", "video filter", NULL,
VFILTER_TEXT, VFILTER_LONGTEXT)
add_integer_with_range( CFG_PREFIX "alpha", 255, 0, 255,
ALPHA_TEXT, ALPHA_LONGTEXT, false )
......
......@@ -176,8 +176,8 @@ vlc_module_begin ()
MAXWIDTH_LONGTEXT, true )
add_integer( SOUT_CFG_PREFIX "maxheight", 0, MAXHEIGHT_TEXT,
MAXHEIGHT_LONGTEXT, true )
add_module_list( SOUT_CFG_PREFIX "vfilter", "video filter",
NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
add_module_list(SOUT_CFG_PREFIX "vfilter", "video filter", NULL,
VFILTER_TEXT, VFILTER_LONGTEXT)
set_section( N_("Audio"), NULL )
add_module(SOUT_CFG_PREFIX "aenc", "encoder", NULL,
......@@ -195,8 +195,8 @@ vlc_module_begin ()
ARATE_LONGTEXT, true )
change_integer_range( 0, 48000 )
add_obsolete_bool( SOUT_CFG_PREFIX "audio-sync" ) /*Since 2.2.0 */
add_module_list( SOUT_CFG_PREFIX "afilter", "audio filter",
NULL, AFILTER_TEXT, AFILTER_LONGTEXT, false )
add_module_list(SOUT_CFG_PREFIX "afilter", "audio filter", NULL,
AFILTER_TEXT, AFILTER_LONGTEXT)
set_section( N_("Overlays/Subtitles"), NULL )
add_module(SOUT_CFG_PREFIX "senc", "encoder", NULL,
......@@ -205,8 +205,8 @@ vlc_module_begin ()
SCODEC_LONGTEXT, false )
add_bool( SOUT_CFG_PREFIX "soverlay", false, SCODEC_TEXT,
SCODEC_LONGTEXT, false )
add_module_list( SOUT_CFG_PREFIX "sfilter", "spu source",
NULL, SFILTER_TEXT, SFILTER_LONGTEXT, false )
add_module_list(SOUT_CFG_PREFIX "sfilter", "spu source", NULL,
SFILTER_TEXT, SFILTER_LONGTEXT)
set_section( N_("Miscellaneous"), NULL )
add_integer( SOUT_CFG_PREFIX "threads", 0, THREADS_TEXT,
......
......@@ -60,8 +60,8 @@ vlc_module_begin ()
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,
VOUTLIST_TEXT, VOUTLIST_LONGTEXT, true )
add_module_list(CFG_PREFIX "vout-list", "vout display", NULL,
VOUTLIST_TEXT, VOUTLIST_LONGTEXT)
add_shortcut( "clone" )
set_callbacks( Open, Close )
......
......@@ -1533,8 +1533,8 @@ vlc_module_begin ()
change_string_list( ppsz_roles, ppsz_roles_text )
set_subcategory( SUBCAT_AUDIO_AFILTER )
add_module_list( "audio-filter", "audio filter", NULL,
AUDIO_FILTER_TEXT, AUDIO_FILTER_LONGTEXT, false )
add_module_list("audio-filter", "audio filter", NULL,
AUDIO_FILTER_TEXT, AUDIO_FILTER_LONGTEXT)
set_subcategory( SUBCAT_AUDIO_VISUAL )
add_module("audio-visual", "visualization", "none",
AUDIO_VISUAL_TEXT, AUDIO_VISUAL_LONGTEXT)
......@@ -1656,12 +1656,12 @@ vlc_module_begin ()
change_short('V')
set_subcategory( SUBCAT_VIDEO_VFILTER )
add_module_list( "video-filter", "video filter", NULL,
VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, false )
add_module_list("video-filter", "video filter", NULL,
VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT)
set_subcategory( SUBCAT_VIDEO_SPLITTER )
add_module_list( "video-splitter", "video splitter", NULL,
VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false )
add_module_list("video-splitter", "video splitter", NULL,
VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT)
add_obsolete_string( "vout-filter" ) /* since 2.0.0 */
#if 0
add_string( "pixel-ratio", "1", PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT )
......@@ -1698,10 +1698,10 @@ vlc_module_begin ()
SUB_TEXT_SCALE_TEXT, SUB_TEXT_SCALE_LONGTEXT, false )
change_volatile ()
set_section( N_( "Overlays" ) , NULL )
add_module_list( "sub-source", "sub source", NULL,
SUB_SOURCE_TEXT, SUB_SOURCE_LONGTEXT, false )
add_module_list( "sub-filter", "sub filter", NULL,
SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT, false )
add_module_list("sub-source", "sub source", NULL,
SUB_SOURCE_TEXT, SUB_SOURCE_LONGTEXT)
add_module_list("sub-filter", "sub filter", NULL,
SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT)
/* Input options */
set_category( CAT_INPUT )
......@@ -1945,8 +1945,8 @@ vlc_module_begin ()
add_obsolete_bool( "prefer-system-codecs" )
set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
add_module_list( "stream-filter", "stream_filter", NULL,
STREAM_FILTER_TEXT, STREAM_FILTER_LONGTEXT, false )
add_module_list("stream-filter", "stream_filter", NULL,
STREAM_FILTER_TEXT, STREAM_FILTER_LONGTEXT)
add_string( "demux-filter", NULL, DEMUX_FILTER_TEXT, DEMUX_FILTER_LONGTEXT, true )
......
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