summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-28 00:41:38 +0100
committerwm4 <wm4@nowhere>2020-03-28 00:41:38 +0100
commitb8daef5d8b3f58481ac95f7217df8f1509fa0b59 (patch)
tree2a8ef8506413cf71a6cce7c9dc0351eeb886a864 /player/command.c
parent518bd4c306d50e6772c39c5d7395b9d10b9386da (diff)
downloadmpv-b8daef5d8b3f58481ac95f7217df8f1509fa0b59.tar.bz2
mpv-b8daef5d8b3f58481ac95f7217df8f1509fa0b59.tar.xz
input: remove deprecated --input-file option
This was deprecated 2 releases ago. The deprecation changelog entry says that there are no plans to remove it short-term, but I guess I lied.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 822a54c4a7..bd31708318 100644
--- a/player/command.c
+++ b/player/command.c
@@ -6208,7 +6208,7 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags,
if (flags & UPDATE_INPUT)
mp_input_update_opts(mpctx->input);
- if (init || opt_ptr == &opts->ipc_path || opt_ptr == &opts->input_file) {
+ if (init || opt_ptr == &opts->ipc_path) {
mp_uninit_ipc(mpctx->ipc_ctx);
mpctx->ipc_ctx = mp_init_ipc(mpctx->clients, mpctx->global);
}