summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-17 22:06:29 +0100
committerwm4 <wm4@nowhere>2019-12-17 23:06:10 +0100
commite75d28effd324d9383ee92304f2eba9a4f0d13c6 (patch)
tree19fc3758248ad47edbb2a25984c5bf092cf0dad6 /options/options.c
parentdf7d5a1689e6f39c00e6ff86829921d1fa6db095 (diff)
downloadmpv-e75d28effd324d9383ee92304f2eba9a4f0d13c6.tar.bz2
mpv-e75d28effd324d9383ee92304f2eba9a4f0d13c6.tar.xz
command: slightly simplify input-ipc-server change detection/init
The generic change detection now handles this just as well. The way how this function is manually called at init is slightly gross. Make that part slightly more explicit to hopefully avoid confusion.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index b7f2357ebe..a874e95483 100644
--- a/options/options.c
+++ b/options/options.c
@@ -702,9 +702,9 @@ static const m_option_t mp_opts[] = {
OPT_FLAG("input-terminal", consolecontrols, UPDATE_TERM),
- OPT_STRING("input-file", input_file, M_OPT_FILE | UPDATE_INPUT,
+ OPT_STRING("input-file", input_file, M_OPT_FILE,
.deprecation_message = "use --input-ipc-server"),
- OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE | UPDATE_INPUT),
+ OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE),
OPT_SUBSTRUCT("screenshot", screenshot_image_opts, screenshot_conf, 0),
OPT_STRING("screenshot-template", screenshot_template, 0),