Commit 857535cb authored by Antoine Cellerier's avatar Antoine Cellerier

Fix segfault on 64 bit archs. (0 != NULL)

parent a25b69c5
......@@ -192,7 +192,7 @@ 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, 0 );
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, true );
......@@ -230,26 +230,26 @@ vlc_module_begin();
/* DVB-C (cable) */
add_integer( "dvb-modulation", -1, NULL, MODULATION_TEXT,
MODULATION_LONGTEXT, true );
change_integer_list( i_qam_list, ppsz_qam_text, 0 );
change_integer_list( i_qam_list, ppsz_qam_text, NULL );
/* 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, 0 );
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, 0 );
change_integer_list( i_lp_fec_list, ppsz_lp_fec_text, NULL );
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
true );
change_integer_list( i_band_list, ppsz_band_text, 0 );
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, 0 );
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, 0 );
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, 0 );
change_integer_list( i_hierarchy_list, ppsz_hierarchy_text, NULL );
set_capability( "access", 0 );
add_shortcut( "dvb" ); /* Generic name */
......
......@@ -222,7 +222,7 @@ vlc_module_begin();
add_integer( "dshow-tuner-input", 0, NULL, TUNER_INPUT_TEXT,
TUNER_INPUT_LONGTEXT, true );
change_integer_list( pi_tuner_input, ppsz_tuner_input_text, 0 );
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 );
......@@ -238,7 +238,7 @@ vlc_module_begin();
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, 0 );
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 );
......
......@@ -140,7 +140,7 @@ vlc_module_begin();
RADIO_DEVICE_LONGTEXT, false );
add_integer( "pvr-norm", V4L2_STD_UNKNOWN , NULL, NORM_TEXT,
NORM_LONGTEXT, false );
change_integer_list( i_norm_list, psz_norm_list_text, 0 );
change_integer_list( i_norm_list, psz_norm_list_text, NULL );
add_integer( "pvr-width", -1, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, true );
add_integer( "pvr-height", -1, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT,
true );
......@@ -158,7 +158,7 @@ vlc_module_begin();
BITRATE_PEAK_LONGTEXT, true );
add_integer( "pvr-bitrate-mode", -1, NULL, BITRATE_MODE_TEXT,
BITRATE_MODE_LONGTEXT, true );
change_integer_list( i_bitrates, psz_bitrates_list_text, 0 );
change_integer_list( i_bitrates, psz_bitrates_list_text, NULL );
add_integer( "pvr-audio-bitmask", -1, NULL, BITMASK_TEXT,
BITMASK_LONGTEXT, true );
add_integer( "pvr-audio-volume", -1, NULL, VOLUME_TEXT,
......
......@@ -168,7 +168,7 @@ vlc_module_begin();
add_integer( "v4l-tuner", -1, NULL, TUNER_TEXT, TUNER_LONGTEXT, true );
add_integer( "v4l-norm", VIDEO_MODE_AUTO, NULL, NORM_TEXT, NORM_LONGTEXT,
false );
change_integer_list( i_norm_list, psz_norm_list_text, 0 );
change_integer_list( i_norm_list, psz_norm_list_text, NULL );
add_integer( "v4l-frequency", -1, NULL, FREQUENCY_TEXT, FREQUENCY_LONGTEXT,
false );
add_integer( "v4l-audio", -1, NULL, AUDIO_TEXT, AUDIO_LONGTEXT, true );
......
......@@ -282,7 +282,7 @@ vlc_module_begin();
false );
add_integer( CFG_PREFIX "standard", 0, NULL, STANDARD_TEXT,
STANDARD_LONGTEXT, false );
change_integer_list( i_standards_list, psz_standards_list_text, 0 );
change_integer_list( i_standards_list, psz_standards_list_text, NULL );
add_string( CFG_PREFIX "chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
true );
add_integer( CFG_PREFIX "input", 0, NULL, INPUT_TEXT, INPUT_LONGTEXT,
......@@ -291,7 +291,7 @@ vlc_module_begin();
AUDIO_INPUT_LONGTEXT, true );
add_integer( CFG_PREFIX "io", IO_METHOD_MMAP, NULL, IOMETHOD_TEXT,
IOMETHOD_LONGTEXT, true );
change_integer_list( i_iomethod_list, psz_iomethod_list_text, 0 );
change_integer_list( i_iomethod_list, psz_iomethod_list_text, NULL );
add_integer( CFG_PREFIX "width", 0, NULL, WIDTH_TEXT,
WIDTH_LONGTEXT, true );
add_integer( CFG_PREFIX "height", 0, NULL, HEIGHT_TEXT,
......
......@@ -118,7 +118,7 @@ vlc_module_begin();
MONO_DOWNMIX_LONGTEXT, false );
add_integer( MONO_CFG "channel", -1, NULL, MONO_CHANNEL_TEXT,
MONO_CHANNEL_LONGTEXT, false );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_MISC );
......
......@@ -123,7 +123,7 @@ vlc_module_begin();
change_integer_range( 0, 2 );
add_integer ( "ffmpeg-skiploopfilter", 0, NULL, SKIPLOOPF_TEXT,
SKIPLOOPF_LONGTEXT, true );
change_integer_list( nloopf_list, nloopf_list_text, 0 );
change_integer_list( nloopf_list, nloopf_list_text, NULL );
add_integer( "ffmpeg-debug", 0, NULL, DEBUG_TEXT, DEBUG_LONGTEXT,
true );
......
......@@ -95,7 +95,7 @@ vlc_module_begin();
set_callbacks( Open, Close );
add_integer( DVBSUB_CFG_PREFIX "position", 8, NULL, POS_TEXT, POS_LONGTEXT, true );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
add_integer( DVBSUB_CFG_PREFIX "x", -1, NULL, POSX_TEXT, POSX_LONGTEXT, false );
add_integer( DVBSUB_CFG_PREFIX "y", -1, NULL, POSY_TEXT, POSY_LONGTEXT, false );
......
......@@ -123,7 +123,7 @@ vlc_module_begin();
add_integer( "subsdec-align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT,
false );
change_integer_list( pi_justification, ppsz_justification_text, 0 );
change_integer_list( pi_justification, ppsz_justification_text, NULL );
add_string( "subsdec-encoding", DEFAULT_NAME, NULL,
ENCODING_TEXT, ENCODING_LONGTEXT, false );
change_string_list( ppsz_encodings, 0, 0 );
......
......@@ -83,7 +83,7 @@ vlc_module_begin();
ENC_QUALITY_LONGTEXT, false );
add_integer( ENC_CFG_PREFIX "mode", 0, NULL, ENC_MODE_TEXT,
ENC_MODE_LONGTEXT, false );
change_integer_list( pi_stereo_values, ppsz_stereo_descriptions, 0 );
change_integer_list( pi_stereo_values, ppsz_stereo_descriptions, NULL );
add_bool( ENC_CFG_PREFIX "vbr", 0, NULL, ENC_VBR_TEXT,
ENC_VBR_LONGTEXT, false );
add_integer( ENC_CFG_PREFIX "psy", 3, NULL, ENC_PSY_TEXT,
......
......@@ -91,7 +91,7 @@ vlc_module_begin();
add_bool( "vbi-opaque", true, NULL,
OPAQUE_TEXT, OPAQUE_LONGTEXT, false );
add_integer( "vbi-position", 4, NULL, POS_TEXT, POS_LONGTEXT, false );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
add_bool( "vbi-text", false, NULL,
TELX_TEXT, TELX_LONGTEXT, false );
vlc_module_end();
......
......@@ -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, 0 );
change_integer_list( pi_index, ppsz_indexes, NULL );
set_callbacks( Open, Close );
vlc_module_end();
......
......@@ -200,14 +200,14 @@ vlc_module_begin();
add_integer( "fbosd-y", 0, NULL, POSY_TEXT,
POSY_LONGTEXT, false );
add_integer( "fbosd-position", 8, NULL, POS_TEXT, POS_LONGTEXT, true );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
set_section( N_("Font"), NULL );
add_integer_with_range( "fbosd-font-opacity", 255, 0, 255, NULL,
OPACITY_TEXT, OPACITY_LONGTEXT, false );
add_integer( "fbosd-font-color", 0x00FFFFFF, NULL, COLOR_TEXT, COLOR_LONGTEXT,
false );
change_integer_list( pi_color_values, ppsz_color_descriptions, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
add_integer( "fbosd-font-size", -1, NULL, SIZE_TEXT, SIZE_LONGTEXT,
false );
......
......@@ -158,7 +158,7 @@ vlc_module_begin();
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, 0 );
change_integer_list( i_mode_list, psz_mode_list_text, NULL );
add_bool( "qt-notification", true, NULL, NOTIFICATION_TEXT,
NOTIFICATION_LONGTEXT, false );
......
......@@ -147,7 +147,7 @@ vlc_module_begin();
add_deprecated_alias( "wxwin-autosize" ); /*Deprecated since 0.8.4*/
add_integer( "wx-playlist-view", 0, NULL, PLAYLIST_TEXT, PLAYLIST_LONGTEXT,
false );
change_integer_list( pi_playlist_views, psz_playlist_views, 0 );
change_integer_list( pi_playlist_views, psz_playlist_views, NULL );
/* wxCocoa pretends to support this, but at least 2.6.x doesn't */
#ifndef __APPLE__
#ifdef wxHAS_TASK_BAR_ICON
......
......@@ -148,14 +148,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, 0 );
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, 0 );
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, 0 );
change_integer_list( pi_effects, ppsz_effects_text, NULL );
add_bool( "freetype-yuvp", 0, NULL, YUVP_TEXT,
YUVP_LONGTEXT, true );
......
......@@ -117,10 +117,10 @@ vlc_module_begin();
false );
add_integer( "quartztext-rel-fontsize", DEFAULT_REL_FONT_SIZE, NULL, FONTSIZER_TEXT,
FONTSIZER_LONGTEXT, false );
change_integer_list( pi_sizes, ppsz_sizes_text, 0 );
change_integer_list( pi_sizes, ppsz_sizes_text, NULL );
add_integer( "quartztext-color", 0x00FFFFFF, NULL, COLOR_TEXT,
COLOR_LONGTEXT, false );
change_integer_list( pi_color_values, ppsz_color_descriptions, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
set_capability( "text renderer", 120 );
add_shortcut( "text" );
set_callbacks( Create, Destroy );
......
......@@ -104,11 +104,11 @@ vlc_module_begin();
/* hook to the color values list, with default 0x00ffffff = white */
add_integer( "win32text-color", 0x00FFFFFF, NULL, COLOR_TEXT,
COLOR_LONGTEXT, true );
change_integer_list( pi_color_values, ppsz_color_descriptions, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
add_integer( "win32text-rel-fontsize", 16, NULL, FONTSIZER_TEXT,
FONTSIZER_LONGTEXT, false );
change_integer_list( pi_sizes, ppsz_sizes_text, 0 );
change_integer_list( pi_sizes, ppsz_sizes_text, NULL );
set_capability( "text renderer", 50 );
add_shortcut( "text" );
......
......@@ -373,7 +373,7 @@ add_integer_with_range(CFG_PREFIX "SatWinSize", 3, 0, 5, NULL,
add_integer(CFG_PREFIX "filtermode", (int)afmCombined, NULL,
FILTERMODE_TEXT, FILTERMODE_LONGTEXT, false );
change_integer_list(pi_filtermode_values, ppsz_filtermode_descriptions, 0 );
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);
......
......@@ -72,7 +72,7 @@ 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, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
add_integer( CFG_PREFIX "saturationthres", 20, NULL,
_("Saturaton threshold"), "", false );
add_integer( CFG_PREFIX "similaritythres", 15, NULL,
......
......@@ -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, 0 );
change_integer_list( pi_component_values, ppsz_component_descriptions, NULL );
set_callbacks( Create, Destroy );
vlc_module_end();
......
......@@ -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, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
/* subpicture 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, 0 );
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, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
add_integer( CFG_PREFIX "size", -1, NULL, SIZE_TEXT, SIZE_LONGTEXT,
false );
......
......@@ -192,7 +192,7 @@ vlc_module_begin();
add_integer( CFG_PREFIX "align", 5, NULL,
ALIGN_TEXT, ALIGN_LONGTEXT, true);
change_integer_list( pi_align_values, ppsz_align_descriptions, 0 );
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, 0 );
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", -1, NULL, POSY_TEXT, POSY_LONGTEXT, false );
add_integer( OSD_CFG "position", 8, NULL, POS_TEXT, POS_LONGTEXT,
false );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
add_string( OSD_CFG "file", OSD_DEFAULT_CFG, NULL, OSD_FILE_TEXT,
OSD_FILE_LONGTEXT, false );
add_string( OSD_CFG "file-path", NULL, NULL, OSD_PATH_TEXT,
......
......@@ -198,7 +198,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, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
set_section( N_("Font"), NULL );
/* 5 sets the default to top [1] left [4] */
......@@ -206,7 +206,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, 0 );
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL );
add_integer( CFG_PREFIX "size", -1, NULL, SIZE_TEXT, SIZE_LONGTEXT, false );
set_section( N_("Misc"), NULL );
......@@ -217,7 +217,7 @@ vlc_module_begin();
add_integer( CFG_PREFIX "ttl", 1800, NULL, TTL_TEXT, TTL_LONGTEXT, false );
add_bool( CFG_PREFIX "images", 1, NULL, IMAGE_TEXT, IMAGE_LONGTEXT, false );
add_integer( CFG_PREFIX "title", default_title, NULL, TITLE_TEXT, TITLE_LONGTEXT, false );
change_integer_list( pi_title_modes, ppsz_title_modes, 0 );
change_integer_list( pi_title_modes, ppsz_title_modes, NULL );
set_description( N_("RSS and Atom feed display") );
add_shortcut( "rss" );
......
......@@ -66,7 +66,7 @@ vlc_module_begin();
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_callbacks( OpenScaler, CloseScaler );
add_integer( "swscale-mode", 2, NULL, SCALEMODE_TEXT, SCALEMODE_LONGTEXT, true );
change_integer_list( pi_mode_values, ppsz_mode_descriptions, 0 );
change_integer_list( pi_mode_values, ppsz_mode_descriptions, NULL );
vlc_module_end();
/* Version checking */
......
......@@ -1447,7 +1447,7 @@ vlc_module_begin();
add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, false );
add_integer( "force-dolby-surround", 0, NULL, FORCE_DOLBY_TEXT,
FORCE_DOLBY_LONGTEXT, false );
change_integer_list( pi_force_dolby_values, ppsz_force_dolby_descriptions, 0 );
change_integer_list( pi_force_dolby_values, ppsz_force_dolby_descriptions, NULL );
add_integer( "audio-desync", 0, NULL, DESYNC_TEXT,
DESYNC_LONGTEXT, true );
change_safe();
......@@ -1514,7 +1514,7 @@ vlc_module_begin();
VIDEO_TITLE_TIMEOUT_LONGTEXT, false );
add_integer( "video-title-position", 8, NULL, VIDEO_TITLE_POSITION_TEXT,
VIDEO_TITLE_POSITION_LONGTEXT, false );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, 0 );
change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL );
// autohide after 1.5s
add_integer( "mouse-hide-timeout", 1500, NULL, MOUSE_HIDE_TIMEOUT_TEXT,
MOUSE_HIDE_TIMEOUT_LONGTEXT, false );
......@@ -1562,7 +1562,7 @@ vlc_module_begin();
add_string( "video-title", NULL, NULL, VIDEO_TITLE_TEXT,
VIDEO_TITLE_LONGTEXT, true );
add_integer( "align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, true );
change_integer_list( pi_align_values, ppsz_align_descriptions, 0 );
change_integer_list( pi_align_values, ppsz_align_descriptions, NULL );
add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, true );
......@@ -1722,7 +1722,7 @@ vlc_module_begin();
CR_AVERAGE_LONGTEXT, true );
add_integer( "clock-synchro", -1, NULL, CLOCK_SYNCHRO_TEXT,
CLOCK_SYNCHRO_LONGTEXT, true );
change_integer_list( pi_clock_values, ppsz_clock_descriptions, 0 );
change_integer_list( pi_clock_values, ppsz_clock_descriptions, NULL );
add_bool( "network-synchronisation", false, NULL, NETSYNC_TEXT,
NETSYNC_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