summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 19:56:00 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 16:06:29 +0000
commit969c19c9cb82a988366e611ba4c99fe85e7712f1 (patch)
treecaac6bf6cca9a9af3ab4a059df8d5c98c63a1a2e /input
parent96a6c1ae9115a6ec828c80074e9b79dd43a04f9a (diff)
downloadmpv-969c19c9cb82a988366e611ba4c99fe85e7712f1.tar.bz2
mpv-969c19c9cb82a988366e611ba4c99fe85e7712f1.tar.xz
options: remove ancient option fallbacks/deprecation
We've got an ungodly amount of OPT_REPLACED and OPT_REMOVED sitting around in the code. This is harmless, but the vast majority of these are ancient. 26f4f18c0629998a9b91e94722d166866d8b80a3 is the last commit that touched the majority of these and of course that only changed how options were declared so all of this stuff was deprecated even before that. No use in keeping these, so just delete them all. As an aside, there was actually a cocoa_opts but it had only a single option which was replaced by something else and empty otherwise. So that entire thing was just simply removed. OPT_REPLACED/OPT_REMOVED declarations that were added in 0.35 or later were kept as is.
Diffstat (limited to 'input')
-rw-r--r--input/input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/input/input.c b/input/input.c
index 07474dffa7..c7bae55364 100644
--- a/input/input.c
+++ b/input/input.c
@@ -203,10 +203,6 @@ const struct m_sub_options input_config = {
{"input-gamepad", OPT_BOOL(use_gamepad)},
#endif
{"window-dragging", OPT_BOOL(allow_win_drag)},
- {"input-x11-keyboard", OPT_REPLACED("input-vo-keyboard")},
-#if HAVE_COCOA
- {"input-appleremote", OPT_REMOVED("replaced by MediaPlayer support")},
-#endif
{0}
},
.size = sizeof(struct input_opts),