Commit 3716a7da authored by Romain Vimont's avatar Romain Vimont Committed by Romain Vimont
Browse files

config: remove remaining "advanced" flags

The config "advanced" flag was unused and has been removed by
6a7a137f.

It has been removed from many add_*() macros, but not all. Remove it
from the remaining macros.
parent 3c23501e
......@@ -379,7 +379,7 @@ VLC_METADATA_EXPORTS
add_typedesc_inner( CONFIG_HINT_CATEGORY, text, longtext )
#endif
#define add_string( name, value, text, longtext, advc ) \
#define add_string( name, value, text, longtext ) \
add_string_inner(CONFIG_ITEM_STRING, name, text, longtext, value)
#define add_password(name, value, text, longtext) \
......@@ -416,7 +416,7 @@ VLC_METADATA_EXPORTS
change_integer_range (i_subcategory /* gruik */, 0);
#endif
#define add_integer( name, value, text, longtext, advc ) \
#define add_integer( name, value, text, longtext ) \
add_int_inner(CONFIG_ITEM_INTEGER, name, text, longtext, value)
#define add_rgb(name, value, text, longtext) \
......@@ -428,19 +428,19 @@ VLC_METADATA_EXPORTS
KEY_UNSET) \
add_string_inner(CONFIG_ITEM_KEY, name, text, longtext, value)
#define add_integer_with_range( name, value, i_min, i_max, text, longtext, advc ) \
add_integer( name, value, text, longtext, advc ) \
#define add_integer_with_range( name, value, i_min, i_max, text, longtext ) \
add_integer( name, value, text, longtext ) \
change_integer_range( i_min, i_max )
#define add_float( name, v, text, longtext, advc ) \
#define add_float( name, v, text, longtext ) \
add_typename_inner(CONFIG_ITEM_FLOAT, name, text, longtext) \
vlc_config_set (VLC_CONFIG_VALUE, (double)(v));
#define add_float_with_range( name, value, f_min, f_max, text, longtext, advc ) \
add_float( name, value, text, longtext, advc ) \
#define add_float_with_range( name, value, f_min, f_max, text, longtext ) \
add_float( name, value, text, longtext ) \
change_float_range( f_min, f_max )
#define add_bool( name, v, text, longtext, advc ) \
#define add_bool( name, v, text, longtext ) \
add_typename_inner(CONFIG_ITEM_BOOL, name, text, longtext) \
if (v) vlc_config_set (VLC_CONFIG_VALUE, (int64_t)true);
......
......@@ -60,8 +60,8 @@ vlc_module_begin ()
set_subcategory (SUBCAT_INPUT_ACCESS)
set_help (HELP_TEXT)
add_bool ("alsa-stereo", true, STEREO_TEXT, NULL, true)
add_integer ("alsa-samplerate", 48000, RATE_TEXT, NULL, true)
add_bool ("alsa-stereo", true, STEREO_TEXT, NULL)
add_integer ("alsa-samplerate", 48000, RATE_TEXT, NULL)
change_integer_list (rate_values, rate_names)
add_shortcut ("alsa")
......
......@@ -256,8 +256,8 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "amt-native-timeout", 5, TIMEOUT_TEXT, NULL, true )
add_string( "amt-relay", AMT_DEFAULT_RELAY, AMT_RELAY_ADDRESS, AMT_RELAY_ADDR_LONG, true )
add_integer( "amt-native-timeout", 5, TIMEOUT_TEXT, NULL )
add_string( "amt-relay", AMT_DEFAULT_RELAY, AMT_RELAY_ADDRESS, AMT_RELAY_ADDR_LONG )
set_capability( "access", 0 )
add_shortcut( "amt" )
......
......@@ -37,7 +37,7 @@ void OutCloseAvio(vlc_object_t *);
add_shortcut("avio", "rtmp", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts") \
set_callbacks(OpenAvio, CloseAvio) \
set_section(N_("Input"), NULL ) \
add_string("avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true) \
add_string("avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT) \
add_submodule () \
set_shortname( "AVIO" ) \
set_description( N_("libavformat AVIO access output") ) \
......@@ -47,4 +47,4 @@ void OutCloseAvio(vlc_object_t *);
add_shortcut( "avio", "rtmp" ) \
set_callbacks( OutOpenAvio, OutCloseAvio) \
set_section(N_("Stream output"), NULL ) \
add_string("sout-avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true)
add_string("sout-avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT)
......@@ -248,8 +248,8 @@ vlc_module_begin ()
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_ACCESS)
set_capability("access", 500)
add_bool("bluray-menu", true, BD_MENU_TEXT, BD_MENU_LONGTEXT, false)
add_string("bluray-region", ppsz_region_code[REGION_DEFAULT], BD_REGION_TEXT, BD_REGION_LONGTEXT, false)
add_bool("bluray-menu", true, BD_MENU_TEXT, BD_MENU_LONGTEXT)
add_string("bluray-region", ppsz_region_code[REGION_DEFAULT], BD_REGION_TEXT, BD_REGION_LONGTEXT)
change_string_list(ppsz_region_code, ppsz_region_code_text)
add_shortcut("bluray", "file")
......
......@@ -1004,21 +1004,21 @@ vlc_module_begin ()
add_loadfile("cd-audio", CD_DEVICE, CDAUDIO_DEV_TEXT, CDAUDIO_DEV_LONGTEXT)
add_integer( "cdda-track", 0 , NULL, NULL, true )
add_integer( "cdda-track", 0 , NULL, NULL )
change_volatile ()
add_integer( "cdda-first-sector", -1, NULL, NULL, true )
add_integer( "cdda-first-sector", -1, NULL, NULL )
change_volatile ()
add_integer( "cdda-last-sector", -1, NULL, NULL, true )
add_integer( "cdda-last-sector", -1, NULL, NULL )
change_volatile ()
add_string( "musicbrainz-server", MUSICBRAINZ_DEFAULT_SERVER,
N_( "Musicbrainz Server" ),
N_( "Address of the musicbrainz server to use." ), true )
N_( "Address of the musicbrainz server to use." ) )
#ifdef HAVE_LIBCDDB
add_string( "cddb-server", "freedb.videolan.org", N_( "CDDB Server" ),
N_( "Address of the CDDB server to use." ), true )
N_( "Address of the CDDB server to use." ) )
add_integer( "cddb-port", 80, N_( "CDDB port" ),
N_( "CDDB Server port to use." ), true )
N_( "CDDB Server port to use." ) )
change_integer_range( 1, 65535 )
#endif
......
......@@ -309,7 +309,7 @@ vlc_module_begin()
set_description(N_("Concatenated inputs"))
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_ACCESS)
add_string("concat-list", NULL, INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT, true)
add_string("concat-list", NULL, INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT)
set_capability("access", 0)
set_callbacks(Open, Close)
add_shortcut("concast", "list")
......
File mode changed from 100755 to 100644
......@@ -108,22 +108,22 @@ vlc_module_begin ()
set_subcategory(SUBCAT_INPUT_ACCESS)
add_integer("decklink-card-index", 0,
CARD_INDEX_TEXT, CARD_INDEX_LONGTEXT, true)
CARD_INDEX_TEXT, CARD_INDEX_LONGTEXT)
add_string("decklink-mode", NULL,
MODE_TEXT, MODE_LONGTEXT, true)
MODE_TEXT, MODE_LONGTEXT)
add_string("decklink-audio-connection", 0,
AUDIO_CONNECTION_TEXT, AUDIO_CONNECTION_LONGTEXT, true)
AUDIO_CONNECTION_TEXT, AUDIO_CONNECTION_LONGTEXT)
change_string_list(ppsz_audioconns, ppsz_audioconns_text)
add_integer("decklink-audio-rate", 48000,
RATE_TEXT, RATE_LONGTEXT, true)
RATE_TEXT, RATE_LONGTEXT)
add_integer("decklink-audio-channels", 2,
CHANNELS_TEXT, CHANNELS_LONGTEXT, true)
CHANNELS_TEXT, CHANNELS_LONGTEXT)
add_string("decklink-video-connection", 0,
VIDEO_CONNECTION_TEXT, VIDEO_CONNECTION_LONGTEXT, true)
VIDEO_CONNECTION_TEXT, VIDEO_CONNECTION_LONGTEXT)
change_string_list(ppsz_videoconns, ppsz_videoconns_text)
add_string("decklink-aspect-ratio", NULL,
ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, true)
add_bool("decklink-tenbits", false, N_("10 bits"), N_("10 bits"), true)
ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT)
add_bool("decklink-tenbits", false, N_("10 bits"), N_("10 bits"))
add_shortcut("decklink")
set_capability("access", 0)
......
......@@ -191,63 +191,61 @@ vlc_module_begin ()
set_description( N_("DirectShow input") )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_string( "dshow-vdev", NULL, VDEV_TEXT, VDEV_LONGTEXT, false)
add_string( "dshow-vdev", NULL, VDEV_TEXT, VDEV_LONGTEXT)
add_string( "dshow-adev", NULL, ADEV_TEXT, ADEV_LONGTEXT, false)
add_string( "dshow-adev", NULL, ADEV_TEXT, ADEV_LONGTEXT)
add_string( "dshow-size", NULL, SIZE_TEXT, SIZE_LONGTEXT, false)
add_string( "dshow-size", NULL, SIZE_TEXT, SIZE_LONGTEXT)
change_safe()
add_string( "dshow-aspect-ratio", "4:3", ASPECT_TEXT, ASPECT_LONGTEXT, false)
add_string( "dshow-aspect-ratio", "4:3", ASPECT_TEXT, ASPECT_LONGTEXT)
change_safe()
add_string( "dshow-chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT, true )
add_string( "dshow-chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT )
change_safe()
add_float( "dshow-fps", 0.0f, FPS_TEXT, FPS_LONGTEXT, true )
add_float( "dshow-fps", 0.0f, FPS_TEXT, FPS_LONGTEXT )
change_safe()
add_bool( "dshow-config", false, CONFIG_TEXT, CONFIG_LONGTEXT, true )
add_bool( "dshow-config", false, CONFIG_TEXT, CONFIG_LONGTEXT )
add_bool( "dshow-tuner", false, TUNER_TEXT, TUNER_LONGTEXT, true )
add_bool( "dshow-tuner", false, TUNER_TEXT, TUNER_LONGTEXT )
add_integer( "dshow-tuner-channel", 0, CHANNEL_TEXT, CHANNEL_LONGTEXT,
true )
add_integer( "dshow-tuner-channel", 0, CHANNEL_TEXT, CHANNEL_LONGTEXT )
change_safe()
add_integer( "dshow-tuner-country", 0, COUNTRY_TEXT, COUNTRY_LONGTEXT,
true )
add_integer( "dshow-tuner-country", 0, COUNTRY_TEXT, COUNTRY_LONGTEXT )
add_integer( "dshow-tuner-input", 0, TUNER_INPUT_TEXT,
TUNER_INPUT_LONGTEXT, true )
TUNER_INPUT_LONGTEXT )
change_integer_list( pi_tuner_input, ppsz_tuner_input_text )
change_safe()
add_integer( "dshow-video-input", -1, VIDEO_IN_TEXT,
VIDEO_IN_LONGTEXT, true )
VIDEO_IN_LONGTEXT )
change_safe()
add_integer( "dshow-video-output", -1, VIDEO_OUT_TEXT,
VIDEO_OUT_LONGTEXT, true )
VIDEO_OUT_LONGTEXT )
add_integer( "dshow-audio-input", -1, AUDIO_IN_TEXT,
AUDIO_IN_LONGTEXT, true )
AUDIO_IN_LONGTEXT )
change_safe()
add_integer( "dshow-audio-output", -1, AUDIO_OUT_TEXT,
AUDIO_OUT_LONGTEXT, true )
AUDIO_OUT_LONGTEXT )
add_integer( "dshow-amtuner-mode", AMTUNER_MODE_TV,
AMTUNER_MODE_TEXT, AMTUNER_MODE_LONGTEXT, false)
AMTUNER_MODE_TEXT, AMTUNER_MODE_LONGTEXT)
change_integer_list( pi_amtuner_mode, ppsz_amtuner_mode_text )
change_safe()
add_integer( "dshow-audio-channels", 0, AUDIO_CHANNELS_TEXT,
AUDIO_CHANNELS_LONGTEXT, true )
AUDIO_CHANNELS_LONGTEXT )
add_integer( "dshow-audio-samplerate", 0, AUDIO_SAMPLERATE_TEXT,
AUDIO_SAMPLERATE_LONGTEXT, true )
AUDIO_SAMPLERATE_LONGTEXT )
add_integer( "dshow-audio-bitspersample", 0, AUDIO_BITSPERSAMPLE_TEXT,
AUDIO_BITSPERSAMPLE_LONGTEXT, true )
AUDIO_BITSPERSAMPLE_LONGTEXT )
add_shortcut( "dshow" )
set_capability( "access", 1 )
......
......@@ -80,10 +80,10 @@ vlc_module_begin ()
set_help(BDSM_HELP)
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_string( "smb-user", NULL, SMB_USER_TEXT, SMB_USER_LONGTEXT, false )
add_string( "smb-user", NULL, SMB_USER_TEXT, SMB_USER_LONGTEXT )
add_password("smb-pwd", NULL, SMB_PASS_TEXT, SMB_PASS_LONGTEXT)
add_string( "smb-domain", NULL, SMB_DOMAIN_TEXT, SMB_DOMAIN_LONGTEXT, false )
add_bool( "smb-force-v1", false, SMB_FORCE_V1_TEXT, SMB_FORCE_V1_LONGTEXT, false )
add_string( "smb-domain", NULL, SMB_DOMAIN_TEXT, SMB_DOMAIN_LONGTEXT )
add_bool( "smb-force-v1", false, SMB_FORCE_V1_TEXT, SMB_FORCE_V1_LONGTEXT )
add_shortcut( "smb", "cifs" )
set_capability( "access", 22 )
......
......@@ -256,169 +256,169 @@ vlc_module_begin ()
)
#ifdef HAVE_LINUX_DVB
add_integer ("dvb-adapter", 0, ADAPTER_TEXT, ADAPTER_LONGTEXT, false)
add_integer ("dvb-adapter", 0, ADAPTER_TEXT, ADAPTER_LONGTEXT)
change_integer_range (0, 255)
change_safe ()
add_integer ("dvb-device", 0, DEVICE_TEXT, DEVICE_LONGTEXT, false)
add_integer ("dvb-device", 0, DEVICE_TEXT, DEVICE_LONGTEXT)
change_integer_range (0, 255)
change_safe ()
add_bool ("dvb-budget-mode", false, BUDGET_TEXT, BUDGET_LONGTEXT, true)
add_bool ("dvb-budget-mode", false, BUDGET_TEXT, BUDGET_LONGTEXT)
#endif
#ifdef _WIN32
add_integer ("dvb-adapter", -1, ADAPTER_TEXT, ADAPTER_LONGTEXT, true)
add_integer ("dvb-adapter", -1, ADAPTER_TEXT, ADAPTER_LONGTEXT)
change_safe ()
add_string ("dvb-network-name", "", NAME_TEXT, NAME_LONGTEXT, true)
add_string ("dvb-network-name", "", NAME_TEXT, NAME_LONGTEXT)
/* Hmm: is this one really safe??: */
add_string ("dvb-create-name", "", CREATE_TEXT, CREATE_LONGTEXT, true)
add_string ("dvb-create-name", "", CREATE_TEXT, CREATE_LONGTEXT)
change_private ()
#endif
add_integer ("dvb-frequency", 0, FREQ_TEXT, FREQ_LONGTEXT, false)
add_integer ("dvb-frequency", 0, FREQ_TEXT, FREQ_LONGTEXT)
change_integer_range (0, 107999999)
change_safe ()
add_integer ("dvb-inversion", -1, INVERSION_TEXT, INVERSION_LONGTEXT, true)
add_integer ("dvb-inversion", -1, INVERSION_TEXT, INVERSION_LONGTEXT)
change_integer_list (auto_off_on_vlc, auto_off_on_user)
change_safe ()
set_section (N_("Terrestrial reception parameters"), NULL)
add_integer ("dvb-bandwidth", 0, BANDWIDTH_TEXT, NULL, true)
add_integer ("dvb-bandwidth", 0, BANDWIDTH_TEXT, NULL)
change_integer_list (bandwidth_vlc, bandwidth_user)
change_safe ()
add_integer ("dvb-transmission", 0,
TRANSMISSION_TEXT, NULL, true)
TRANSMISSION_TEXT, NULL)
change_integer_list (transmission_vlc, transmission_user)
change_safe ()
add_string ("dvb-guard", "", GUARD_TEXT, NULL, true)
add_string ("dvb-guard", "", GUARD_TEXT, NULL)
change_string_list (guard_vlc, guard_user)
change_safe ()
set_section (N_("DVB-T reception parameters"), NULL)
add_string ("dvb-code-rate-hp", "",
CODE_RATE_HP_TEXT, CODE_RATE_LONGTEXT, true)
CODE_RATE_HP_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
add_string ("dvb-code-rate-lp", "",
CODE_RATE_LP_TEXT, CODE_RATE_LONGTEXT, true)
CODE_RATE_LP_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
add_integer ("dvb-hierarchy", -1, HIERARCHY_TEXT, NULL, true)
add_integer ("dvb-hierarchy", -1, HIERARCHY_TEXT, NULL)
change_integer_list (hierarchy_vlc, hierarchy_user)
change_safe ()
add_integer ("dvb-plp-id", 0, PLP_ID_TEXT, NULL, false)
add_integer ("dvb-plp-id", 0, PLP_ID_TEXT, NULL)
change_integer_range (0, 255)
change_safe ()
set_section (N_("ISDB-T reception parameters"), NULL)
add_string ("dvb-a-modulation", NULL,
MODULATION_A_TEXT, MODULATION_LONGTEXT, true)
MODULATION_A_TEXT, MODULATION_LONGTEXT)
change_string_list (modulation_vlc, modulation_user)
change_safe ()
add_string ("dvb-a-fec", NULL, CODE_RATE_A_TEXT, CODE_RATE_LONGTEXT, true)
add_string ("dvb-a-fec", NULL, CODE_RATE_A_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
add_integer ("dvb-a-count", 0, SEGMENT_COUNT_A_TEXT, NULL, true)
add_integer ("dvb-a-count", 0, SEGMENT_COUNT_A_TEXT, NULL)
change_integer_range (0, 13)
change_safe ()
add_integer ("dvb-a-interleaving", 0, TIME_INTERLEAVING_A_TEXT, NULL, true)
add_integer ("dvb-a-interleaving", 0, TIME_INTERLEAVING_A_TEXT, NULL)
change_integer_range (0, 3)
change_safe ()
add_string ("dvb-b-modulation", NULL,
MODULATION_B_TEXT, MODULATION_LONGTEXT, true)
MODULATION_B_TEXT, MODULATION_LONGTEXT)
change_string_list (modulation_vlc, modulation_user)
change_safe ()
add_string ("dvb-b-fec", NULL, CODE_RATE_B_TEXT, CODE_RATE_LONGTEXT, true)
add_string ("dvb-b-fec", NULL, CODE_RATE_B_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
add_integer ("dvb-b-count", 0, SEGMENT_COUNT_B_TEXT, NULL, true)
add_integer ("dvb-b-count", 0, SEGMENT_COUNT_B_TEXT, NULL)
change_integer_range (0, 13)
change_safe ()
add_integer ("dvb-b-interleaving", 0, TIME_INTERLEAVING_B_TEXT, NULL, true)
add_integer ("dvb-b-interleaving", 0, TIME_INTERLEAVING_B_TEXT, NULL)
change_integer_range (0, 3)
change_safe ()
add_string ("dvb-c-modulation", NULL,
MODULATION_C_TEXT, MODULATION_LONGTEXT, true)
MODULATION_C_TEXT, MODULATION_LONGTEXT)
change_string_list (modulation_vlc, modulation_user)
change_safe ()
add_string ("dvb-c-fec", NULL, CODE_RATE_C_TEXT, CODE_RATE_LONGTEXT, true)
add_string ("dvb-c-fec", NULL, CODE_RATE_C_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
add_integer ("dvb-c-count", 0, SEGMENT_COUNT_C_TEXT, NULL, true)
add_integer ("dvb-c-count", 0, SEGMENT_COUNT_C_TEXT, NULL)
change_integer_range (0, 13)
change_safe ()
add_integer ("dvb-c-interleaving", 0, TIME_INTERLEAVING_C_TEXT, NULL, true)
add_integer ("dvb-c-interleaving", 0, TIME_INTERLEAVING_C_TEXT, NULL)
change_integer_range (0, 3)
change_safe ()
set_section (N_("Cable and satellite reception parameters"), NULL)
add_string ("dvb-modulation", NULL,
MODULATION_TEXT, MODULATION_LONGTEXT, false)
MODULATION_TEXT, MODULATION_LONGTEXT)
change_string_list (modulation_vlc, modulation_user)
change_safe ()
add_integer ("dvb-srate", 0, SRATE_TEXT, SRATE_LONGTEXT, false)
add_integer ("dvb-srate", 0, SRATE_TEXT, SRATE_LONGTEXT)
change_integer_range (0, UINT64_C(0xffffffff))
change_safe ()
add_string ("dvb-fec", "", CODE_RATE_TEXT, CODE_RATE_LONGTEXT, true)
add_string ("dvb-fec", "", CODE_RATE_TEXT, CODE_RATE_LONGTEXT)
change_string_list (code_rate_vlc, code_rate_user)
change_safe ()
set_section (N_("DVB-S2 parameters"), NULL)
add_integer ("dvb-stream", 0, STREAM_ID_TEXT, NULL, false)
add_integer ("dvb-stream", 0, STREAM_ID_TEXT, NULL)
change_integer_range (0, 255)
change_safe ()
add_integer ("dvb-pilot", -1, PILOT_TEXT, NULL, true)
add_integer ("dvb-pilot", -1, PILOT_TEXT, NULL)
change_integer_list (auto_off_on_vlc, auto_off_on_user)
change_safe ()
add_integer ("dvb-rolloff", -1, ROLLOFF_TEXT, NULL, true)
add_integer ("dvb-rolloff", -1, ROLLOFF_TEXT, NULL)
change_integer_list (rolloff_vlc, rolloff_user)
change_safe ()
set_section (N_("ISDB-S parameters"), NULL)
add_integer ("dvb-ts-id", 0, TS_ID_TEXT, NULL, false)
add_integer ("dvb-ts-id", 0, TS_ID_TEXT, NULL)
change_integer_range (0, 0xffff)
change_safe ()
set_section (N_("Satellite equipment control"), NULL)
add_string ("dvb-polarization", "",
POLARIZATION_TEXT, POLARIZATION_LONGTEXT, false)
POLARIZATION_TEXT, POLARIZATION_LONGTEXT)
change_string_list (polarization_vlc, polarization_user)
change_safe ()
add_integer ("dvb-voltage", 13, "", "", true)
add_integer ("dvb-voltage", 13, "", "")
change_integer_range (0, 18)
change_private ()
change_safe ()
#ifdef HAVE_LINUX_DVB
add_bool ("dvb-high-voltage", false,
HIGH_VOLTAGE_TEXT, HIGH_VOLTAGE_LONGTEXT, false)
HIGH_VOLTAGE_TEXT, HIGH_VOLTAGE_LONGTEXT)
#endif
add_integer ("dvb-lnb-low", 0, LNB_LOW_TEXT, LNB_LONGTEXT, true)
add_integer ("dvb-lnb-low", 0, LNB_LOW_TEXT, LNB_LONGTEXT)
change_integer_range (0, 0x7fffffff)
add_integer ("dvb-lnb-high", 0, LNB_HIGH_TEXT, LNB_LONGTEXT, true)
add_integer ("dvb-lnb-high", 0, LNB_HIGH_TEXT, LNB_LONGTEXT)
change_integer_range (0, 0x7fffffff)
add_integer ("dvb-lnb-switch", 11700000,
LNB_SWITCH_TEXT, LNB_SWITCH_LONGTEXT, true)
LNB_SWITCH_TEXT, LNB_SWITCH_LONGTEXT)
change_integer_range (0, 0x7fffffff)
#ifdef HAVE_LINUX_DVB
add_integer ("dvb-satno", 0, SATNO_TEXT, SATNO_LONGTEXT, true)
add_integer ("dvb-satno", 0, SATNO_TEXT, SATNO_LONGTEXT)
change_integer_list (satno_vlc, satno_user)
change_safe ()
add_integer ("dvb-uncommitted", 0, UNCOMMITTED_TEXT, UNCOMMITTED_LONGTEXT, true)
add_integer ("dvb-uncommitted", 0, UNCOMMITTED_TEXT, UNCOMMITTED_LONGTEXT)
change_integer_list (satno_vlc, satno_user)
change_safe ()
add_integer ("dvb-tone", -1, TONE_TEXT, TONE_LONGTEXT, true)
add_integer ("dvb-tone", -1, TONE_TEXT, TONE_LONGTEXT)
change_integer_list (auto_off_on_vlc, auto_off_on_user)
#endif
#ifdef _WIN32
add_integer ("dvb-network-id", 0, NETID_TEXT, NULL, true)
add_integer ("dvb-azimuth", 0, AZIMUTH_TEXT, AZIMUTH_LONGTEXT, true)
add_integer ("dvb-elevation", 0, ELEVATION_TEXT, ELEVATION_LONGTEXT, true)
add_integer ("dvb-longitude", 0, LONGITUDE_TEXT, LONGITUDE_LONGTEXT, true)
add_string ("dvb-range", "", RANGE_TEXT, RANGE_LONGTEXT, true)
add_integer ("dvb-network-id", 0, NETID_TEXT, NULL)
add_integer ("dvb-azimuth", 0, AZIMUTH_TEXT, AZIMUTH_LONGTEXT)
add_integer ("dvb-elevation", 0, ELEVATION_TEXT, ELEVATION_LONGTEXT)
add_integer ("dvb-longitude", 0, LONGITUDE_TEXT, LONGITUDE_LONGTEXT)
add_string ("dvb-range", "", RANGE_TEXT, RANGE_LONGTEXT)
/* dvb-range corresponds to the BDA InputRange parameter which is
* used by some drivers to control the diseqc */
set_section (N_("ATSC reception parameters"), NULL)
add_integer ("dvb-major-channel", 0, MAJOR_CHANNEL_TEXT, NULL, true)
add_integer ("dvb-minor-channel", 0, MINOR_CHANNEL_TEXT, NULL, true)
add_integer ("dvb-physical-channel", 0, PHYSICAL_CHANNEL_TEXT, NULL, true)
add_integer ("dvb-major-channel", 0, MAJOR_CHANNEL_TEXT, NULL)
add_integer ("dvb-minor-channel", 0, MINOR_CHANNEL_TEXT, NULL)
add_integer ("dvb-physical-channel", 0, PHYSICAL_CHANNEL_TEXT, NULL)
#endif
vlc_module_end ()
......
......@@ -80,13 +80,11 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_bool( "dvb-probe", true, PROBE_TEXT, PROBE_LONGTEXT, true )
add_bool( "dvb-probe", true, PROBE_TEXT, PROBE_LONGTEXT )
/* DVB-S (satellite) */
add_string( "dvb-satellite", NULL, SATELLITE_TEXT, SATELLITE_LONGTEXT,
true )
add_string( "dvb-scanlist", NULL, SCANLIST_TEXT, SCANLIST_LONGTEXT,
true )
add_bool( "dvb-scan-nit", true, SCAN_NIT_TEXT, NULL, true )
add_string( "dvb-satellite", NULL, SATELLITE_TEXT, SATELLITE_LONGTEXT )
add_string( "dvb-scanlist", NULL, SCANLIST_TEXT, SCANLIST_LONGTEXT )
add_bool( "dvb-scan-nit", true, SCAN_NIT_TEXT, NULL )
set_capability( "access", 0 )
add_shortcut( "dvb", /* Generic name */
......
......@@ -92,9 +92,9 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "dvdnav-angle", 1, ANGLE_TEXT,
ANGLE_LONGTEXT, false )
ANGLE_LONGTEXT )
add_bool( "dvdnav-menu", true,
MENU_TEXT, MENU_LONGTEXT, false )
MENU_TEXT, MENU_LONGTEXT )
set_capability( "access", 305 )
add_shortcut( "dvd", "dvdnav", "file" )
set_callbacks( AccessDemuxOpen, Close )
......
......@@ -80,7 +80,7 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "dvdread-angle", 1, ANGLE_TEXT,
ANGLE_LONGTEXT, false )
ANGLE_LONGTEXT )
set_capability( "access", 0 )
add_shortcut( "dvd", "dvdread", "dvdsimple" )
set_callbacks( Open, Close )
......
......@@ -50,6 +50,6 @@ vlc_module_begin ()
set_callbacks( DirOpen, DirClose )
add_bool("list-special-files", false, N_("List special files"),
N_("Include devices and pipes when listing directories"), true)
N_("Include devices and pipes when listing directories"))
add_obsolete_string("directory-sort") /* since 3.0.0 */
vlc_module_end ()
......@@ -85,10 +85,10 @@ vlc_module_begin ()
set_capability( "access", 0 )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_string( "ftp-user", NULL, USER_TEXT, USER_LONGTEXT, false )
add_string( "ftp-user", NULL, USER_TEXT, USER_LONGTEXT )
add_password( "ftp-pwd", NULL, PASS_TEXT, PASS_LONGTEXT )
add_string( "ftp-account", "anonymous", ACCOUNT_TEXT,
ACCOUNT_LONGTEXT, false )
ACCOUNT_LONGTEXT )
add_shortcut( "ftp", "ftps", "ftpes" )
set_callbacks( InOpen, InClose )
......
......@@ -71,7 +71,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_INPUT_ACCESS )
add_bool( "http-reconnect", false, RECONNECT_TEXT,
RECONNECT_LONGTEXT, true )
RECONNECT_LONGTEXT )
/* 'itpc' = iTunes Podcast */
add_shortcut( "http", "unsv", "itpc", "icyx" )
set_callbacks( Open, Close )
......
......@@ -290,20 +290,19 @@ vlc_module_begin()
set_callbacks(Open, Close)
add_bool("http-continuous", false, N_("Continuous stream"),
N_("Keep reading a resource that keeps being updated."), true)
N_("Keep reading a resource that keeps being updated."))
change_volatile()
add_bool("http-forward-cookies", true, N_("Cookies forwarding"),
N_("Forward cookies across HTTP redirections."), true)
N_("Forward cookies across HTTP redirections."))
add_string("http-referrer", NULL, N_("Referrer"),
N_("Provide the referral URL, i.e. HTTP \"Referer\" (sic)."),
true)
N_("Provide the referral URL, i.e. HTTP \"Referer\" (sic)."))
change_safe()
change_volatile()
add_string("http-user-agent", NULL, N_("User agent"),
N_("Override the name and version of the application as "
"provided to the HTTP server, i.e. the HTTP \"User-Agent\". "