summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-11 01:04:15 +0100
committerwm4 <wm4@nowhere>2014-12-11 01:04:15 +0100
commitd054289f668499d6acea307f14c62d44d35b6840 (patch)
treed01cd9f4195e0339cd6ee3aedd164d51c4742ebb /options/options.c
parenteb36bd6945bad1ddc80663f7b8d3fe95db3ca284 (diff)
downloadmpv-d054289f668499d6acea307f14c62d44d35b6840.tar.bz2
mpv-d054289f668499d6acea307f14c62d44d35b6840.tar.xz
options: add slightly more sophistcated mechanism for option deprecation
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c73
1 files changed, 73 insertions, 0 deletions
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=<filename>"),
+ 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=<filename>"),
+ 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}
};