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

Trailing ;

parent c349af14
......@@ -212,11 +212,11 @@ vlc_module_begin ()
/* DVB-S (satellite) */
add_integer( "dvb-inversion", 2, NULL, INVERSION_TEXT,
INVERSION_LONGTEXT, true )
change_integer_list( i_inversion_list, ppsz_inversion_text, NULL );
change_integer_list( i_inversion_list, ppsz_inversion_text, NULL )
# if defined(WIN32) || defined(WINCE)
add_string( "dvb-polarisation", NULL, NULL, POLARISATION_TEXT,
POLARISATION_LONGTEXT, false )
change_string_list( ppsz_polar_list, ppsz_polar_text, 0 );
change_string_list( ppsz_polar_list, ppsz_polar_text, 0 )
/* Note: Polaristion H = voltage 18; V = voltage 13; */
add_integer( "dvb-network-id", 0, NULL, NETID_TEXT, NETID_LONGTEXT,
true )
......@@ -253,7 +253,7 @@ vlc_module_begin ()
/* DVB-C (cable) */
add_integer( "dvb-modulation", -1, NULL, MODULATION_TEXT,
MODULATION_LONGTEXT, true )
change_integer_list( i_mod_list, ppsz_mod_text, NULL );
change_integer_list( i_mod_list, ppsz_mod_text, NULL )
/* ATSC */
add_integer( "dvb-major-channel", 0, NULL, MAJOR_CHANNEL_TEXT,
......@@ -266,21 +266,21 @@ vlc_module_begin ()
/* DVB-T (terrestrial) */
add_integer( "dvb-code-rate-hp", -1, NULL, CODE_RATE_HP_TEXT,
CODE_RATE_HP_LONGTEXT, true )
change_integer_list( i_hp_fec_list, ppsz_hp_fec_text, NULL );
change_integer_list( i_hp_fec_list, ppsz_hp_fec_text, NULL )
add_integer( "dvb-code-rate-lp", -1, NULL, CODE_RATE_LP_TEXT,
CODE_RATE_LP_LONGTEXT, true )
change_integer_list( i_lp_fec_list, ppsz_lp_fec_text, NULL );
change_integer_list( i_lp_fec_list, ppsz_lp_fec_text, NULL )
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
false )
change_integer_list( i_band_list, ppsz_band_text, NULL );
change_integer_list( i_band_list, ppsz_band_text, NULL )
add_integer( "dvb-guard", -1, NULL, GUARD_TEXT, GUARD_LONGTEXT, true )
change_integer_list( i_guard_list, ppsz_guard_text, NULL );
change_integer_list( i_guard_list, ppsz_guard_text, NULL )
add_integer( "dvb-transmission", -1, NULL, TRANSMISSION_TEXT,
TRANSMISSION_LONGTEXT, true )
change_integer_list( i_transmission_list, ppsz_transmission_text, NULL );
change_integer_list( i_transmission_list, ppsz_transmission_text, NULL )
add_integer( "dvb-hierarchy", -1, NULL, HIERARCHY_TEXT, HIERARCHY_LONGTEXT,
true )
change_integer_list( i_hierarchy_list, ppsz_hierarchy_text, NULL );
change_integer_list( i_hierarchy_list, ppsz_hierarchy_text, NULL )
set_capability( "access", 0 )
add_shortcut( "dvb" ) /* Generic name */
......
......@@ -188,15 +188,15 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "dshow-caching", (mtime_t)(0.2*CLOCK_FREQ) / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true );
CACHING_TEXT, CACHING_LONGTEXT, true )
add_string( "dshow-vdev", NULL, NULL, VDEV_TEXT, VDEV_LONGTEXT, false)
change_string_list( ppsz_vdev, ppsz_vdev_text, FindDevicesCallback );
change_string_list( ppsz_vdev, ppsz_vdev_text, FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") )
change_action_add( ConfigDevicesCallback, N_("Configure") )
add_string( "dshow-adev", NULL, NULL, ADEV_TEXT, ADEV_LONGTEXT, false)
change_string_list( ppsz_adev, ppsz_adev_text, FindDevicesCallback );
change_string_list( ppsz_adev, ppsz_adev_text, FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") )
change_action_add( ConfigDevicesCallback, N_("Configure") )
......@@ -215,37 +215,37 @@ vlc_module_begin ()
true )
add_integer( "dshow-tuner-channel", 0, NULL, CHANNEL_TEXT,
CHANNEL_LONGTEXT, true );
CHANNEL_LONGTEXT, true )
add_integer( "dshow-tuner-country", 0, NULL, COUNTRY_TEXT,
COUNTRY_LONGTEXT, true );
COUNTRY_LONGTEXT, true )
add_integer( "dshow-tuner-input", 0, NULL, TUNER_INPUT_TEXT,
TUNER_INPUT_LONGTEXT, true );
change_integer_list( pi_tuner_input, ppsz_tuner_input_text, NULL );
TUNER_INPUT_LONGTEXT, true )
change_integer_list( pi_tuner_input, ppsz_tuner_input_text, NULL )
add_integer( "dshow-video-input", -1, NULL, VIDEO_IN_TEXT,
VIDEO_IN_LONGTEXT, true );
VIDEO_IN_LONGTEXT, true )
add_integer( "dshow-audio-input", -1, NULL, AUDIO_IN_TEXT,
AUDIO_IN_LONGTEXT, true );
AUDIO_IN_LONGTEXT, true )
add_integer( "dshow-video-output", -1, NULL, VIDEO_OUT_TEXT,
VIDEO_OUT_LONGTEXT, true );
VIDEO_OUT_LONGTEXT, true )
add_integer( "dshow-audio-output", -1, NULL, AUDIO_OUT_TEXT,
AUDIO_OUT_LONGTEXT, true );
AUDIO_OUT_LONGTEXT, true )
add_integer( "dshow-amtuner-mode", AMTUNER_MODE_TV, NULL,
AMTUNER_MODE_TEXT, AMTUNER_MODE_LONGTEXT, false);
change_integer_list( pi_amtuner_mode, ppsz_amtuner_mode_text, NULL );
AMTUNER_MODE_TEXT, AMTUNER_MODE_LONGTEXT, false)
change_integer_list( pi_amtuner_mode, ppsz_amtuner_mode_text, NULL )
add_integer( "dshow-audio-channels", 0, NULL, AUDIO_CHANNELS_TEXT,
AUDIO_CHANNELS_LONGTEXT, true );
AUDIO_CHANNELS_LONGTEXT, true )
add_integer( "dshow-audio-samplerate", 0, NULL, AUDIO_SAMPLERATE_TEXT,
AUDIO_SAMPLERATE_LONGTEXT, true );
AUDIO_SAMPLERATE_LONGTEXT, true )
add_integer( "dshow-audio-bitspersample", 0, NULL, AUDIO_BITSPERSAMPLE_TEXT,
AUDIO_BITSPERSAMPLE_LONGTEXT, true );
AUDIO_BITSPERSAMPLE_LONGTEXT, true )
add_shortcut( "dshow" )
set_capability( "access_demux", 0 )
......
......@@ -171,9 +171,9 @@ vlc_module_begin ()
add_bool( "waveout-float32", 1, 0, FLOAT_TEXT, FLOAT_LONGTEXT, true )
add_string( "waveout-audio-device", "wavemapper", NULL,
DEVICE_TEXT, DEVICE_LONG, false );
DEVICE_TEXT, DEVICE_LONG, false )
add_deprecated_alias( "waveout-dev" ) /* deprecated since 0.9.3 */
change_string_list( ppsz_adev, ppsz_adev_text, ReloadWaveoutDevices );
change_string_list( ppsz_adev, ppsz_adev_text, ReloadWaveoutDevices )
change_need_restart ()
change_action_add( ReloadWaveoutDevices, N_("Refresh list") )
......
......@@ -109,7 +109,7 @@ vlc_module_begin ()
add_integer( ENC_CFG_PREFIX "mode", 0, NULL, ENC_MODE_TEXT,
ENC_MODE_LONGTEXT, false )
change_integer_list( pi_enc_mode_values, ppsz_enc_mode_descriptions, NULL );
change_integer_list( pi_enc_mode_values, ppsz_enc_mode_descriptions, NULL )
add_integer( ENC_CFG_PREFIX "complexity", 3, NULL, ENC_COMPLEXITY_TEXT,
ENC_COMPLEXITY_LONGTEXT, false )
......
......@@ -99,7 +99,7 @@ vlc_module_begin ()
THRESHOLD_TEXT, THRESHOLD_LONGTEXT, true )
add_string( "gestures-button", "right", NULL,
BUTTON_TEXT, BUTTON_LONGTEXT, false )
change_string_list( button_list, button_list_text, 0 );
change_string_list( button_list, button_list_text, 0 )
set_description( N_("Mouse gestures control interface") )
set_capability( "interface", 0 )
......
......@@ -42,14 +42,14 @@ LRESULT CALLBACK WMHOTKEYPROC( HWND, UINT, WPARAM, LPARAM );
/*****************************************************************************
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_shortname( _("Global Hotkeys") );
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_HOTKEYS );
set_description( _("Global Hotkeys interface") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
vlc_module_begin()
set_shortname( _("Global Hotkeys") )
set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
set_description( _("Global Hotkeys interface") )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
vlc_module_end()
struct intf_sys_t
{
......
......@@ -43,14 +43,14 @@ static void Close( vlc_object_t *p_this );
/*****************************************************************************
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_shortname( _("Global Hotkeys") );
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_HOTKEYS );
set_description( _("Global Hotkeys interface") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
vlc_module_begin()
set_shortname( _("Global Hotkeys") )
set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
set_description( _("Global Hotkeys interface") )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
vlc_module_end()
typedef struct
{
......
......@@ -71,7 +71,7 @@ vlc_module_begin ()
INTERLEAVE_TEXT, INTERLEAVE_LONGTEXT, true )
add_integer( "avi-index", 0, NULL,
INDEX_TEXT, INDEX_LONGTEXT, false )
change_integer_list( pi_index, ppsz_indexes, NULL );
change_integer_list( pi_index, ppsz_indexes, NULL )
set_callbacks( Open, Close )
vlc_module_end ()
......
......@@ -107,28 +107,28 @@ vlc_module_begin ()
set_callbacks( Open, Close )
add_bool( "rtsp-tcp", 0, NULL,
N_("Use RTP over RTSP (TCP)"),
N_("Use RTP over RTSP (TCP)"), true );
N_("Use RTP over RTSP (TCP)"), true )
add_integer( "rtp-client-port", -1, NULL,
N_("Client port"),
N_("Port to use for the RTP source of the session"), true );
N_("Port to use for the RTP source of the session"), true )
add_bool( "rtsp-mcast", false, NULL,
N_("Force multicast RTP via RTSP"),
N_("Force multicast RTP via RTSP"), true );
N_("Force multicast RTP via RTSP"), true )
add_bool( "rtsp-http", 0, NULL,
N_("Tunnel RTSP and RTP over HTTP"),
N_("Tunnel RTSP and RTP over HTTP"), true );
N_("Tunnel RTSP and RTP over HTTP"), true )
add_integer( "rtsp-http-port", 80, NULL,
N_("HTTP tunnel port"),
N_("Port to use for tunneling the RTSP/RTP over HTTP."),
true )
add_integer("rtsp-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true );
CACHING_TEXT, CACHING_LONGTEXT, true )
add_bool( "rtsp-kasenna", false, NULL, KASENNA_TEXT,
KASENNA_LONGTEXT, true );
KASENNA_LONGTEXT, true )
add_string( "rtsp-user", NULL, NULL, USER_TEXT,
USER_LONGTEXT, true );
USER_LONGTEXT, true )
add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, true );
PASS_LONGTEXT, true )
vlc_module_end ()
......
......@@ -84,7 +84,7 @@ vlc_module_begin ()
SUB_DELAY_LONGTEXT, true )
add_string( "sub-type", "auto", NULL, N_("Subtitles format"),
SUB_TYPE_LONGTEXT, true )
change_string_list( ppsz_sub_type, NULL, NULL );
change_string_list( ppsz_sub_type, NULL, NULL )
set_callbacks( Open, Close )
add_shortcut( "subtitle" )
......
......@@ -170,7 +170,7 @@ vlc_module_begin ()
add_shortcut("qt")
add_integer( "qt-display-mode", QT_NORMAL_MODE, NULL,
QT_MODE_TEXT, QT_MODE_LONGTEXT, false )
change_integer_list( i_mode_list, psz_mode_list_text, NULL );
change_integer_list( i_mode_list, psz_mode_list_text, NULL )
add_bool( "qt-notification", true, NULL, NOTIFICATION_TEXT,
NOTIFICATION_LONGTEXT, false )
......@@ -179,9 +179,9 @@ vlc_module_begin ()
OPACITY_LONGTEXT, false )
add_bool( "qt-system-tray", true, NULL, SYSTRAY_TEXT,
SYSTRAY_LONGTEXT, false);
SYSTRAY_LONGTEXT, false)
add_bool( "qt-start-minimized", false, NULL, MINIMIZED_TEXT,
MINIMIZED_LONGTEXT, true);
MINIMIZED_LONGTEXT, true)
add_bool( "qt-video-autoresize", true, NULL, KEEPSIZE_TEXT,
KEEPSIZE_LONGTEXT, false )
add_bool( "qt-name-in-title", true, NULL, TITLE_TEXT,
......@@ -190,11 +190,11 @@ vlc_module_begin ()
QT_FULLSCREEN_TEXT, false )
add_bool( "qt-volume-complete", false, NULL, COMPLETEVOL_TEXT,
COMPLETEVOL_LONGTEXT, true );
COMPLETEVOL_LONGTEXT, true )
add_bool( "qt-autosave-volume", false, NULL, SAVEVOL_TEXT,
SAVEVOL_TEXT, true );
SAVEVOL_TEXT, true )
add_string( "qt-filedialog-path", NULL, NULL, FILEDIALOG_PATH_TEXT,
FILEDIALOG_PATH_TEXT, true );
FILEDIALOG_PATH_TEXT, true )
change_autosave ()
change_internal ()
......@@ -204,7 +204,7 @@ vlc_module_begin ()
RECENTPLAY_FILTER_TEXT, RECENTPLAY_FILTER_LONGTEXT, false )
add_bool( "qt-adv-options", false, NULL, ADVANCED_OPTIONS_TEXT,
ADVANCED_OPTIONS_LONGTEXT, true );
ADVANCED_OPTIONS_LONGTEXT, true )
add_bool( "qt-advanced-pref", false, NULL, ADVANCED_PREFS_TEXT,
ADVANCED_PREFS_LONGTEXT, false )
add_bool( "qt-error-dialogs", true, NULL, ERROR_TEXT,
......
......@@ -147,14 +147,14 @@ vlc_module_begin ()
/* hook to the color values list, with default 0x00ffffff = white */
add_integer( "freetype-color", 0x00FFFFFF, NULL, COLOR_TEXT,
COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL )
add_integer( "freetype-rel-fontsize", 16, NULL, FONTSIZER_TEXT,
FONTSIZER_LONGTEXT, false )
change_integer_list( pi_sizes, ppsz_sizes_text, NULL );
change_integer_list( pi_sizes, ppsz_sizes_text, NULL )
add_integer( "freetype-effect", 2, NULL, EFFECT_TEXT,
EFFECT_LONGTEXT, false )
change_integer_list( pi_effects, ppsz_effects_text, NULL );
change_integer_list( pi_effects, ppsz_effects_text, NULL )
add_bool( "freetype-yuvp", 0, NULL, YUVP_TEXT,
YUVP_LONGTEXT, true )
......
......@@ -145,13 +145,13 @@ vlc_module_begin ()
set_subcategory( SUBCAT_ADVANCED_MISC )
add_file( "logfile", NULL, NULL,
N_("Log filename"), N_("Specify the log filename."), false );
N_("Log filename"), N_("Specify the log filename."), false )
add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
false )
change_string_list( mode_list, mode_list_text, 0 );
change_string_list( mode_list, mode_list_text, 0 )
add_file( "rrd-file", NULL, NULL, N_("RRD output file") ,
N_("Output data for RRDTool in this file." ), true );
N_("Output data for RRDTool in this file." ), true )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
......
......@@ -144,19 +144,19 @@ struct sout_stream_id_t
#define VOLUME_LONGTEXT N_("Output volume for analog output: 0 for silence, " \
"1..255 from almost silent to very loud.")
vlc_module_begin();
vlc_module_begin()
set_shortname( N_("RAOP") )
set_description( N_("Remote Audio Output Protocol stream output") );
set_capability( "sout stream", 0 );
add_shortcut( "raop" );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_STREAM );
set_description( N_("Remote Audio Output Protocol stream output") )
set_capability( "sout stream", 0 )
add_shortcut( "raop" )
set_category( CAT_SOUT )
set_subcategory( SUBCAT_SOUT_STREAM )
add_string( SOUT_CFG_PREFIX "host", "", NULL,
HOST_TEXT, HOST_LONGTEXT, false )
add_integer_with_range( SOUT_CFG_PREFIX "volume", 100, 0, 255, NULL,
VOLUME_TEXT, VOLUME_LONGTEXT, false )
set_callbacks( Open, Close );
vlc_module_end();
set_callbacks( Open, Close )
vlc_module_end()
static const char *const ppsz_sout_options[] = {
"host",
......
......@@ -188,7 +188,7 @@ vlc_module_begin ()
add_string( SOUT_CFG_PREFIX "proto", "udp", NULL, PROTO_TEXT,
PROTO_LONGTEXT, false )
change_string_list( ppsz_protos, ppsz_protocols, NULL );
change_string_list( ppsz_protos, ppsz_protocols, NULL )
add_integer( SOUT_CFG_PREFIX "port", 5004, NULL, PORT_TEXT,
PORT_LONGTEXT, true )
add_integer( SOUT_CFG_PREFIX "port-audio", 0, NULL, PORT_AUDIO_TEXT,
......
......@@ -184,7 +184,7 @@ vlc_module_begin ()
add_string( SOUT_CFG_PREFIX "deinterlace-module", "deinterlace", NULL,
DEINTERLACE_MODULE_TEXT, DEINTERLACE_MODULE_LONGTEXT,
false )
change_string_list( ppsz_deinterlace_type, 0, 0 );
change_string_list( ppsz_deinterlace_type, 0, 0 )
add_integer( SOUT_CFG_PREFIX "width", 0, NULL, WIDTH_TEXT,
WIDTH_LONGTEXT, true )
add_integer( SOUT_CFG_PREFIX "height", 0, NULL, HEIGHT_TEXT,
......
......@@ -71,16 +71,16 @@ static void Set8bppPalette ( filter_t *, uint8_t * );
vlc_module_begin ()
#if defined (MODULE_NAME_IS_i420_rgb)
set_description( N_("I420,IYUV,YV12 to "
"RGB2,RV15,RV16,RV24,RV32 conversions") );
"RGB2,RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 80 )
#elif defined (MODULE_NAME_IS_i420_rgb_mmx)
set_description( N_( "MMX I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") );
"RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 100 )
add_requirement( MMX )
#elif defined (MODULE_NAME_IS_i420_rgb_sse2)
set_description( N_( "SSE2 I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") );
"RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 120 )
add_requirement( SSE2 )
#endif
......
......@@ -294,14 +294,14 @@ set_subcategory( SUBCAT_VIDEO_VFILTER )
#if defined(WIN32)
set_section( N_("Choose between the built-in AtmoLight "\
"driver or the external" ), 0 );
"driver or the external" ), 0 )
/*
only on win32 exists the option to use the buildin driver or
the more flexible external driver application
*/
add_bool(CFG_PREFIX "usebuildin", true, NULL,
USEBUILDIN_TEXT, USEBUILDIN_LONGTEXT, false);
USEBUILDIN_TEXT, USEBUILDIN_LONGTEXT, false)
add_string(CFG_PREFIX "serialdev", "COM1", NULL,
SERIALDEV_TEXT, SERIALDEV_LONGTEXT, false )
......@@ -323,15 +323,15 @@ add_string(CFG_PREFIX "serialdev", "/dev/ttyS01", NULL,
*/
set_section( N_("Illuminate the room with this color on pause" ), 0 )
add_bool(CFG_PREFIX "usepausecolor", false, NULL,
PCOLOR_TEXT, PCOLOR_LONGTEXT, false);
PCOLOR_TEXT, PCOLOR_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "pcolor-red", 0, 0, 255, NULL,
PCOLOR_RED_TEXT, PCOLOR_RED_LONGTEXT, false);
PCOLOR_RED_TEXT, PCOLOR_RED_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "pcolor-green", 0, 0, 255, NULL,
PCOLOR_GREEN_TEXT, PCOLOR_GREEN_LONGTEXT, false);
PCOLOR_GREEN_TEXT, PCOLOR_GREEN_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "pcolor-blue", 192, 0, 255, NULL,
PCOLOR_BLUE_TEXT, PCOLOR_BLUE_LONGTEXT, false);
PCOLOR_BLUE_TEXT, PCOLOR_BLUE_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "fadesteps", 50, 1, 250, NULL,
FADESTEPS_TEXT, FADESTEPS_LONGTEXT, false);
FADESTEPS_TEXT, FADESTEPS_LONGTEXT, false)
/*
color which is showed if you finished watching your movie ...
......@@ -339,13 +339,13 @@ add_integer_with_range(CFG_PREFIX "fadesteps", 50, 1, 250, NULL,
*/
set_section( N_("Illuminate the room with this color on shutdown" ), 0 )
add_integer_with_range(CFG_PREFIX "ecolor-red", 192, 0, 255, NULL,
ECOLOR_RED_TEXT, ECOLOR_RED_LONGTEXT, false);
ECOLOR_RED_TEXT, ECOLOR_RED_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "ecolor-green", 192, 0, 255, NULL,
ECOLOR_GREEN_TEXT, ECOLOR_GREEN_LONGTEXT, false);
ECOLOR_GREEN_TEXT, ECOLOR_GREEN_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "ecolor-blue", 192, 0, 255, NULL,
ECOLOR_BLUE_TEXT, ECOLOR_BLUE_LONGTEXT, false);
ECOLOR_BLUE_TEXT, ECOLOR_BLUE_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "efadesteps", 50, 1, 250, NULL,
EFADESTEPS_TEXT, EFADESTEPS_LONGTEXT, false);
EFADESTEPS_TEXT, EFADESTEPS_LONGTEXT, false)
/*
settings only for the buildin driver (if external driver app is used
......@@ -356,36 +356,36 @@ add_integer_with_range(CFG_PREFIX "efadesteps", 50, 1, 250, NULL,
set_section( N_("Settings for the built-in Live Video Processor only" ), 0 )
add_integer_with_range(CFG_PREFIX "EdgeWeightning", 8, 1, 30, NULL,
EDGE_TEXT, EDGE_LONGTEXT, false);
EDGE_TEXT, EDGE_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "Brightness", 100, 50, 300, NULL,
BRIGHTNESS_TEXT, BRIGHTNESS_LONGTEXT, false);
BRIGHTNESS_TEXT, BRIGHTNESS_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "DarknessLimit", 5, 0, 10, NULL,
DARKNESS_TEXT, DARKNESS_LONGTEXT, false);
DARKNESS_TEXT, DARKNESS_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "HueWinSize", 3, 0, 5, NULL,
HUEWINSIZE_TEXT, HUEWINSIZE_LONGTEXT, false);
HUEWINSIZE_TEXT, HUEWINSIZE_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "SatWinSize", 3, 0, 5, NULL,
SATWINSIZE_TEXT, SATWINSIZE_LONGTEXT, false);
SATWINSIZE_TEXT, SATWINSIZE_LONGTEXT, false)
add_integer(CFG_PREFIX "filtermode", (int)afmCombined, NULL,
FILTERMODE_TEXT, FILTERMODE_LONGTEXT, false )
change_integer_list(pi_filtermode_values, ppsz_filtermode_descriptions, NULL );
change_integer_list(pi_filtermode_values, ppsz_filtermode_descriptions, NULL )
add_integer_with_range(CFG_PREFIX "MeanLength", 300, 300, 5000, NULL,
MEANLENGTH_TEXT, MEANLENGTH_LONGTEXT, false);
MEANLENGTH_TEXT, MEANLENGTH_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "MeanThreshold", 40, 1, 100, NULL,
MEANTHRESHOLD_TEXT, MEANTHRESHOLD_LONGTEXT, false);
MEANTHRESHOLD_TEXT, MEANTHRESHOLD_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "PercentNew", 50, 1, 100, NULL,
MEANPERCENTNEW_TEXT, MEANPERCENTNEW_LONGTEXT, false);
MEANPERCENTNEW_TEXT, MEANPERCENTNEW_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "FrameDelay", 18, 0, 35, NULL,
FRAMEDELAY_TEXT, FRAMEDELAY_LONGTEXT, false);
FRAMEDELAY_TEXT, FRAMEDELAY_LONGTEXT, false)
/*
output channel reordering
......@@ -394,42 +394,42 @@ set_section( N_("Change channel assignment (fixes wrong wiring)" ), 0 )
add_integer( CFG_PREFIX "channel_0", 0, NULL,
CHANNEL_0_ASSIGN_TEXT, CHANNELASSIGN_LONGTEXT, false )
change_integer_list( pi_channel_assignment_values,
ppsz_channel_assignment_descriptions, 0 );
ppsz_channel_assignment_descriptions, 0 )
add_integer( CFG_PREFIX "channel_1", 1, NULL,
CHANNEL_1_ASSIGN_TEXT, CHANNELASSIGN_LONGTEXT, false )
change_integer_list( pi_channel_assignment_values,
ppsz_channel_assignment_descriptions, 0 );
ppsz_channel_assignment_descriptions, 0 )
add_integer( CFG_PREFIX "channel_2", 2, NULL,
CHANNEL_2_ASSIGN_TEXT, CHANNELASSIGN_LONGTEXT, false )
change_integer_list( pi_channel_assignment_values,
ppsz_channel_assignment_descriptions, 0 );
ppsz_channel_assignment_descriptions, 0 )
add_integer( CFG_PREFIX "channel_3", 3, NULL,
CHANNEL_3_ASSIGN_TEXT, CHANNELASSIGN_LONGTEXT, false )
change_integer_list( pi_channel_assignment_values,
ppsz_channel_assignment_descriptions, 0 );
ppsz_channel_assignment_descriptions, 0 )
add_integer( CFG_PREFIX "channel_4", 4, NULL,
CHANNEL_4_ASSIGN_TEXT, CHANNELASSIGN_LONGTEXT, false )
change_integer_list( pi_channel_assignment_values,
ppsz_channel_assignment_descriptions, 0 );
ppsz_channel_assignment_descriptions, 0 )
/*
LED color white calibration
*/
set_section( N_("Adjust the white light to your LED stripes" ), 0 )
add_bool(CFG_PREFIX "whiteadj", true, NULL,
USEWHITEADJ_TEXT, USEWHITEADJ_LONGTEXT, false);
USEWHITEADJ_TEXT, USEWHITEADJ_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "white-red", 255, 0, 255, NULL,
WHITE_RED_TEXT, WHITE_RED_LONGTEXT, false);
WHITE_RED_TEXT, WHITE_RED_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "white-green", 255, 0, 255, NULL,
WHITE_GREEN_TEXT, WHITE_GREEN_LONGTEXT, false);
WHITE_GREEN_TEXT, WHITE_GREEN_LONGTEXT, false)
add_integer_with_range(CFG_PREFIX "white-blue", 255, 0, 255, NULL,
WHITE_BLUE_TEXT, WHITE_BLUE_LONGTEXT, false);
WHITE_BLUE_TEXT, WHITE_BLUE_LONGTEXT, false)
/* end of definition of parameter for the buildin filter ... part 1 */
......@@ -443,20 +443,20 @@ pixel, or a simple 256 color grayscale palette
*/
set_section( N_("Change gradients" ), 0 )
add_file(CFG_PREFIX "gradient_zone_0", NULL, NULL,
ZONE_0_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true );
ZONE_0_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_file(CFG_PREFIX "gradient_zone_1", NULL, NULL,
ZONE_1_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true );
ZONE_1_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_file(CFG_PREFIX "gradient_zone_2", NULL, NULL,
ZONE_2_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true );
ZONE_2_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_file(CFG_PREFIX "gradient_zone_3", NULL, NULL,
ZONE_3_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true );
ZONE_3_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_file(CFG_PREFIX "gradient_zone_4", NULL, NULL,
ZONE_4_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true );
ZONE_4_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
#if defined(__ATMO_DEBUG__)
add_bool(CFG_PREFIX "saveframes", false, NULL,
SAVEFRAMES_TEXT, SAVEFRAMES_LONGTEXT, false);
SAVEFRAMES_TEXT, SAVEFRAMES_LONGTEXT, false)
add_string(CFG_PREFIX "framepath", "", NULL,
FRAMEPATH_TEXT, FRAMEPATH_LONGTEXT, false )
#endif
......@@ -465,9 +465,9 @@ add_string(CFG_PREFIX "framepath", "", NULL,
the samplesize from which we do the stats for output color calculation
*/
add_integer_with_range(CFG_PREFIX "width", 64, 64, 512, NULL,
WIDTH_TEXT, WIDTH_LONGTEXT, true);
WIDTH_TEXT, WIDTH_LONGTEXT, true)
add_integer_with_range(CFG_PREFIX "height", 48, 48, 384, NULL,
HEIGHT_TEXT, HEIGHT_LONGTEXT, true);
HEIGHT_TEXT, HEIGHT_LONGTEXT, true)
add_shortcut( "atmo" )
set_callbacks( CreateFilter, DestroyFilter )
......
......@@ -72,11 +72,11 @@ vlc_module_begin ()
set_capability( "video filter2", 0 )
add_integer( CFG_PREFIX "color", 0x00FF0000, NULL, COLOR_TEXT,
COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL )
add_integer( CFG_PREFIX "saturationthres", 20, NULL,
_("Saturaton threshold"), "", false );
_("Saturaton threshold"), "", false )
add_integer( CFG_PREFIX "similaritythres", 15, NULL,
_("Similarity threshold"), "", false );
_("Similarity threshold"), "", false )
set_callbacks( Create, Destroy )
vlc_module_end ()
......
......@@ -132,7 +132,7 @@ vlc_module_begin ()
set_section( N_("Display"),NULL)
add_string( "deinterlace-mode", "discard", NULL, MODE_TEXT,
MODE_LONGTEXT, false )
change_string_list( mode_list, mode_list_text, 0 );
change_string_list( mode_list, mode_list_text, 0 )
add_shortcut( "deinterlace" )
set_callbacks( Create, Destroy )
......@@ -142,7 +142,7 @@ vlc_module_begin ()
set_section( N_("Streaming"),NULL)
add_string( FILTER_CFG_PREFIX "mode", "blend", NULL, SOUT_MODE_TEXT,
SOUT_MODE_LONGTEXT, false )
change_string_list( mode_list, mode_list_text, 0 );
change_string_list( mode_list, mode_list_text, 0 )
set_callbacks( OpenFilter, CloseFilter )
vlc_module_end ()
......
......@@ -81,7 +81,7 @@ vlc_module_begin ()
add_integer_with_range( FILTER_PREFIX "component", 0xFF0000, 1, 0xFFFFFF,
NULL, COMPONENT_TEXT, COMPONENT_LONGTEXT, false )
change_integer_list( pi_component_values, ppsz_component_descriptions, NULL );
change_integer_list( pi_component_values, ppsz_component_descriptions, NULL )
set_callbacks( Create, Destroy )
vlc_module_end ()
......
......@@ -85,7 +85,7 @@ vlc_module_begin ()
add_string( FILTER_PREFIX "mode", "gradient", NULL,
MODE_TEXT, MODE_LONGTEXT, false )
change_string_list( mode_list, mode_list_text, 0 );
change_string_list( mode_list, mode_list_text, 0 )
add_integer_with_range( FILTER_PREFIX "type", 0, 0, 1, NULL,
GRADIENT_TEXT, GRADIENT_LONGTEXT, false )
......
......@@ -118,7 +118,7 @@ vlc_module_begin ()
add_integer_with_range( CFG_PREFIX "transparency", 255, 0, 255, NULL,
TRANS_TEXT, TRANS_LONGTEXT, false )
add_integer( CFG_PREFIX "position", -1, NULL, POS_TEXT, POS_LONGTEXT, false )
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL )
/* video output filter submodule */
add_submodule ()
......
......@@ -154,7 +154,7 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "x", 0, NULL, POSX_TEXT, POSX_LONGTEXT, true )
add_integer( CFG_PREFIX "y", 0, NULL, POSY_TEXT, POSY_LONGTEXT, true )
add_integer( CFG_PREFIX "position", -1, NULL, POS_TEXT, POS_LONGTEXT, false )
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL )
set_section( N_("Font"), NULL )
/* 5 sets the default to top [1] left [4] */
......@@ -162,7 +162,7 @@ vlc_module_begin ()
OPACITY_TEXT, OPACITY_LONGTEXT, false )
add_integer( CFG_PREFIX "color", 0xFFFFFF, NULL, COLOR_TEXT, COLOR_LONGTEXT,
false )
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL )
add_integer( CFG_PREFIX "size", -1, NULL, SIZE_TEXT, SIZE_LONGTEXT,
false )
......
......@@ -191,8 +191,8 @@ vlc_module_begin ()
WIDTH_TEXT, WIDTH_LONGTEXT, false )
add_integer( CFG_PREFIX "align", 5, NULL,
ALIGN_TEXT, ALIGN_LONGTEXT, true);
change_integer_list( pi_align_values, ppsz_align_descriptions, NULL );
ALIGN_TEXT, ALIGN_LONGTEXT, true)
change_integer_list( pi_align_values, ppsz_align_descriptions, NULL )
add_integer( CFG_PREFIX "xoffset", 0, NULL,
XOFFSET_TEXT, XOFFSET_LONGTEXT, true )
......@@ -208,7 +208,7 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "position", 0, NULL,
POS_TEXT, POS_LONGTEXT, false )
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL )
add_integer( CFG_PREFIX "rows", 2, NULL,
ROWS_TEXT, ROWS_LONGTEXT, false )
add_integer( CFG_PREFIX "cols", 2, NULL,
......
......@@ -117,7 +117,7 @@ vlc_module_begin ()
add_integer( OSD_CFG "y",