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

Remove 0.9.x deprecated aliases, add deprecation version where missing

parent 79b8da36
...@@ -364,14 +364,14 @@ vlc_module_begin () ...@@ -364,14 +364,14 @@ vlc_module_begin ()
#endif #endif
add_integer ("dvb-lnb-low", 0, LNB_LOW_TEXT, LNB_LONGTEXT, true) add_integer ("dvb-lnb-low", 0, LNB_LOW_TEXT, LNB_LONGTEXT, true)
change_integer_range (0, 0x7fffffff) change_integer_range (0, 0x7fffffff)
add_deprecated_alias ("dvb-lnb-lof1") add_deprecated_alias ("dvb-lnb-lof1") /* since 1.2.0 */
add_integer ("dvb-lnb-high", 0, LNB_HIGH_TEXT, LNB_LONGTEXT, true) add_integer ("dvb-lnb-high", 0, LNB_HIGH_TEXT, LNB_LONGTEXT, true)
change_integer_range (0, 0x7fffffff) change_integer_range (0, 0x7fffffff)
add_deprecated_alias ("dvb-lnb-lof2") add_deprecated_alias ("dvb-lnb-lof2") /* since 1.2.0 */
add_integer ("dvb-lnb-switch", 11700000, add_integer ("dvb-lnb-switch", 11700000,
LNB_SWITCH_TEXT, LNB_SWITCH_LONGTEXT, true) LNB_SWITCH_TEXT, LNB_SWITCH_LONGTEXT, true)
change_integer_range (0, 0x7fffffff) change_integer_range (0, 0x7fffffff)
add_deprecated_alias ("dvb-lnb-slof") add_deprecated_alias ("dvb-lnb-slof") /* since 1.2.0 */
#ifdef __linux__ #ifdef __linux__
add_integer ("dvb-satno", 0, SATNO_TEXT, SATNO_LONGTEXT, true) add_integer ("dvb-satno", 0, SATNO_TEXT, SATNO_LONGTEXT, true)
change_integer_list (satno_vlc, satno_user) change_integer_list (satno_vlc, satno_user)
......
...@@ -82,7 +82,6 @@ vlc_module_begin () ...@@ -82,7 +82,6 @@ vlc_module_begin ()
set_category( CAT_AUDIO ) set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_AOUT ) set_subcategory( SUBCAT_AUDIO_AOUT )
add_string ("alsa-audio-device", "default", N_("ALSA device"), NULL, false) add_string ("alsa-audio-device", "default", N_("ALSA device"), NULL, false)
add_deprecated_alias( "alsadev" ) /* deprecated since 0.9.3 */
change_string_list( ppsz_devices, ppsz_devices_text, FindDevicesCallback ) change_string_list( ppsz_devices, ppsz_devices_text, FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") ) change_action_add( FindDevicesCallback, N_("Refresh list") )
......
...@@ -103,7 +103,6 @@ vlc_module_begin () ...@@ -103,7 +103,6 @@ vlc_module_begin ()
set_subcategory( SUBCAT_AUDIO_AOUT ) set_subcategory( SUBCAT_AUDIO_AOUT )
add_loadfile( "oss-audio-device", "/dev/dsp", add_loadfile( "oss-audio-device", "/dev/dsp",
N_("OSS DSP device"), NULL, false ) N_("OSS DSP device"), NULL, false )
add_deprecated_alias( "dspdev" ) /* deprecated since 0.9.3 */
set_capability( "audio output", 100 ) set_capability( "audio output", 100 )
add_shortcut( "oss" ) add_shortcut( "oss" )
......
...@@ -114,7 +114,6 @@ vlc_module_begin () ...@@ -114,7 +114,6 @@ vlc_module_begin ()
set_subcategory( SUBCAT_AUDIO_AOUT ) set_subcategory( SUBCAT_AUDIO_AOUT )
add_integer( "portaudio-audio-device", 0, add_integer( "portaudio-audio-device", 0,
DEVICE_TEXT, DEVICE_LONGTEXT, false ) DEVICE_TEXT, DEVICE_LONGTEXT, false )
add_deprecated_alias( "portaudio-device" ) /* deprecated since 0.9.3 */
set_capability( "audio output", 0 ) set_capability( "audio output", 0 )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
vlc_module_end () vlc_module_end ()
......
...@@ -95,7 +95,6 @@ vlc_module_begin () ...@@ -95,7 +95,6 @@ vlc_module_begin ()
add_string( "waveout-audio-device", "wavemapper", add_string( "waveout-audio-device", "wavemapper",
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_action_add( ReloadWaveoutDevices, N_("Refresh list") ) change_action_add( ReloadWaveoutDevices, N_("Refresh list") )
......
...@@ -199,10 +199,8 @@ vlc_module_begin () ...@@ -199,10 +199,8 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "borderw", 0, add_integer( CFG_PREFIX "borderw", 0,
BORDERW_TEXT, BORDERW_LONGTEXT, true ) BORDERW_TEXT, BORDERW_LONGTEXT, true )
add_deprecated_alias( CFG_PREFIX "vborder" )
add_integer( CFG_PREFIX "borderh", 0, add_integer( CFG_PREFIX "borderh", 0,
BORDERH_TEXT, BORDERH_LONGTEXT, true ) BORDERH_TEXT, BORDERH_LONGTEXT, true )
add_deprecated_alias( CFG_PREFIX "hborder" )
add_integer( CFG_PREFIX "position", 0, add_integer( CFG_PREFIX "position", 0,
POS_TEXT, POS_LONGTEXT, false ) POS_TEXT, POS_LONGTEXT, false )
......
...@@ -85,11 +85,9 @@ vlc_module_begin () ...@@ -85,11 +85,9 @@ vlc_module_begin ()
add_integer_with_range( FILTER_PREFIX "q", PP_QUALITY_MAX, 0, add_integer_with_range( FILTER_PREFIX "q", PP_QUALITY_MAX, 0,
PP_QUALITY_MAX, Q_TEXT, Q_LONGTEXT, false ) PP_QUALITY_MAX, Q_TEXT, Q_LONGTEXT, false )
add_deprecated_alias( "ffmpeg-pp-q" )
change_safe() change_safe()
add_string( FILTER_PREFIX "name", "default", NAME_TEXT, add_string( FILTER_PREFIX "name", "default", NAME_TEXT,
NAME_LONGTEXT, true ) NAME_LONGTEXT, true )
add_deprecated_alias( "ffmpeg-pp-name" )
vlc_module_end () vlc_module_end ()
static const char *const ppsz_filter_options[] = { static const char *const ppsz_filter_options[] = {
......
...@@ -1644,9 +1644,6 @@ vlc_module_begin () ...@@ -1644,9 +1644,6 @@ vlc_module_begin ()
change_safe () change_safe ()
add_bool( "embedded-video", 1, EMBEDDED_TEXT, EMBEDDED_LONGTEXT, add_bool( "embedded-video", 1, EMBEDDED_TEXT, EMBEDDED_LONGTEXT,
true ) true )
#ifdef __APPLE__
add_deprecated_alias( "macosx-embedded" ) /*deprecated since 0.9.0 */
#endif
add_bool( "xlib", true, "", "", true ) add_bool( "xlib", true, "", "", true )
change_private () change_private ()
add_bool( "drop-late-frames", 1, DROP_LATE_FRAMES_TEXT, add_bool( "drop-late-frames", 1, DROP_LATE_FRAMES_TEXT,
...@@ -1671,7 +1668,7 @@ vlc_module_begin () ...@@ -1671,7 +1668,7 @@ vlc_module_begin ()
add_bool( "video-wallpaper", false, WALLPAPER_TEXT, add_bool( "video-wallpaper", false, WALLPAPER_TEXT,
WALLPAPER_LONGTEXT, false ) WALLPAPER_LONGTEXT, false )
#ifdef WIN32 #ifdef WIN32
add_deprecated_alias( "directx-wallpaper" ) add_deprecated_alias( "directx-wallpaper" ) /* since 1.1.0 */
#endif #endif
add_bool( "disable-screensaver", true, SS_TEXT, SS_LONGTEXT, add_bool( "disable-screensaver", true, SS_TEXT, SS_LONGTEXT,
true ) true )
...@@ -1756,7 +1753,7 @@ vlc_module_begin () ...@@ -1756,7 +1753,7 @@ vlc_module_begin ()
VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, false ) VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, false )
add_module_list_cat( "video-splitter", SUBCAT_VIDEO_VFILTER, NULL, add_module_list_cat( "video-splitter", SUBCAT_VIDEO_VFILTER, NULL,
VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false ) VIDEO_SPLITTER_TEXT, VIDEO_SPLITTER_LONGTEXT, false )
add_deprecated_alias( "vout-filter" ) add_deprecated_alias( "vout-filter" ) /* since 1.2.0 */
#if 0 #if 0
add_string( "pixel-ratio", "1", PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT ) add_string( "pixel-ratio", "1", PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT )
#endif #endif
...@@ -2480,7 +2477,6 @@ vlc_module_begin () ...@@ -2480,7 +2477,6 @@ vlc_module_begin ()
add_key( "key-toggle-fullscreen", KEY_TOGGLE_FULLSCREEN, TOGGLE_FULLSCREEN_KEY_TEXT, add_key( "key-toggle-fullscreen", KEY_TOGGLE_FULLSCREEN, TOGGLE_FULLSCREEN_KEY_TEXT,
TOGGLE_FULLSCREEN_KEY_LONGTEXT, false ) TOGGLE_FULLSCREEN_KEY_LONGTEXT, false )
add_deprecated_alias( "key-fullscreen" ) /*deprecated since 0.9.0 */
add_key( "key-leave-fullscreen", KEY_LEAVE_FULLSCREEN, LEAVE_FULLSCREEN_KEY_TEXT, add_key( "key-leave-fullscreen", KEY_LEAVE_FULLSCREEN, LEAVE_FULLSCREEN_KEY_TEXT,
LEAVE_FULLSCREEN_KEY_LONGTEXT, false ) LEAVE_FULLSCREEN_KEY_LONGTEXT, false )
add_key( "key-play-pause", KEY_PLAY_PAUSE, PLAY_PAUSE_KEY_TEXT, add_key( "key-play-pause", KEY_PLAY_PAUSE, PLAY_PAUSE_KEY_TEXT,
......
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