From d054289f668499d6acea307f14c62d44d35b6840 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 Dec 2014 01:04:15 +0100 Subject: options: add slightly more sophistcated mechanism for option deprecation --- options/options.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index e4e050af5f..375414b2ff 100644 --- a/options/options.c +++ b/options/options.c @@ -570,6 +570,79 @@ const m_option_t mp_opts[] = { OPT_FLAG("slave-broken", slave_mode, CONF_GLOBAL), + OPT_REMOVED("a52drc", "use --ad-lavc-ac3drc=level"), + OPT_REMOVED("afm", "use --ad=..."), + OPT_REPLACED("aspect", "video-aspect"), + OPT_REMOVED("ass-bottom-margin", "use --vf=sub=bottom:top"), + OPT_REPLACED("ass", "sub-ass"), + OPT_REPLACED("audiofile", "audio-file"), + OPT_REMOVED("benchmark", "use --untimed (no stats)"), + OPT_REMOVED("capture", "use --stream-capture="), + OPT_REMOVED("channels", "use --audio-channels (changed semantics)"), + OPT_REPLACED("cursor-autohide-delay", "cursor-autohide"), + OPT_REPLACED("delay", "audio-delay"), + OPT_REMOVED("dumpstream", "use --stream-dump="), + OPT_REPLACED("dvdangle", "dvd-angle"), + OPT_REPLACED("endpos", "length"), + OPT_REPLACED("font", "osd-font"), + OPT_REPLACED("forcedsubsonly", "sub-forced-only"), + OPT_REPLACED("format", "audio-format"), + OPT_REMOVED("hardframedrop", NULL), + OPT_REMOVED("identify", "use TOOLS/mpv_identify.sh"), + OPT_REMOVED("lavdopts", "use --vd-lavc-..."), + OPT_REMOVED("lavfdopts", "use --demuxer-lavf-..."), + OPT_REPLACED("lircconf", "input-lirc-conf"), + OPT_REMOVED("mixer-channel", "use AO suboptions (alsa, oss)"), + OPT_REMOVED("mixer", "use AO suboptions (alsa, oss)"), + OPT_REPLACED("mouse-movements", "input-cursor"), + OPT_REPLACED("msgcolor", "msg-color"), + OPT_REMOVED("msglevel", "use --msg-level (changed semantics)"), + OPT_REPLACED("msgmodule", "msg-module"), + OPT_REPLACED("name", "x11-name"), + OPT_REPLACED("noar", "no-input-appleremote"), + OPT_REPLACED("noautosub", "no-sub-auto"), + OPT_REPLACED("noconsolecontrols", "no-input-terminal"), + OPT_REPLACED("nojoystick", "no-input-joystick"), + OPT_REPLACED("nosound", "no-audio"), + OPT_REPLACED("osdlevel", "osd-level"), + OPT_REMOVED("panscanrange", "use --video-zoom, --video-pan-x/y"), + OPT_REPLACED("playing-msg", "term-playing-msg"), + OPT_REMOVED("pp", NULL), + OPT_REMOVED("pphelp", NULL), + OPT_REMOVED("rawaudio", "use --demuxer-rawaudio-..."), + OPT_REMOVED("rawvideo", "use --demuxer-rawvideo-..."), + OPT_REPLACED("spugauss", "sub-gauss"), + OPT_REPLACED("srate", "audio-samplerate"), + OPT_REPLACED("ss", "start"), + OPT_REPLACED("stop-xscreensaver", "stop-screensaver"), + OPT_REPLACED("sub-fuzziness", "sub-auto"), + OPT_REPLACED("sub", "sub-file"), + OPT_REPLACED("subcp", "sub-codepage"), + OPT_REPLACED("subdelay", "sub-delay"), + OPT_REPLACED("subfile", "sub"), + OPT_REPLACED("subfont-text-scale", "sub-scale"), + OPT_REPLACED("subfont", "sub-text-font"), + OPT_REPLACED("subfps", "sub-fps"), + OPT_REPLACED("subpos", "sub-pos"), + OPT_REPLACED("tvscan", "tv-scan"), + OPT_REMOVED("use-filename-title", "use --title='${filename}'"), + OPT_REMOVED("vc", "use --vd=..., --hwdec=..."), + OPT_REMOVED("vobsub", "use --sub-file (pass the .idx file)"), + OPT_REMOVED("xineramascreen", "use --screen (different values)"), + OPT_REMOVED("xy", "use --autofit"), + OPT_REMOVED("zoom", "Inverse available as ``--video-unscaled"), + OPT_REPLACED("media-keys", "input-media-keys"), + OPT_REPLACED("lirc", "input-lirc"), + OPT_REPLACED("right-alt-gr", "input-right-alt-gr"), + OPT_REPLACED("autosub", "sub-auto"), + OPT_REPLACED("autosub-match", "sub-auto"), + OPT_REPLACED("status-msg", "term-status-msg"), + OPT_REPLACED("idx", "index"), + OPT_REPLACED("forceidx", "index"), + OPT_REMOVED("cache-pause-below", "for 'no', use --no-cache-pause"), + OPT_REMOVED("no-cache-pause-below", "use --no-cache-pause"), + OPT_REMOVED("volstep", "edit input.conf directly instead"), + {0} }; -- cgit v1.2.3