summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 01:06:07 +0200
committerwm4 <wm4@nowhere>2014-05-06 01:06:07 +0200
commit088031f6918a9a1bc95616f79612440f0bd2e7f5 (patch)
treedf8c5032dfb265a9e592aacbc1d1bdc80ba6fe46 /options
parent7267588a9883a28dfd6cfa700581722067b53e7f (diff)
downloadmpv-088031f6918a9a1bc95616f79612440f0bd2e7f5.tar.bz2
mpv-088031f6918a9a1bc95616f79612440f0bd2e7f5.tar.xz
options: fix "-" (stdin) input
Input through stdin requires disabling the terminal layer, and commit 32c63f forgot to rename the option correctly.
Diffstat (limited to 'options')
-rw-r--r--options/parse_commandline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/parse_commandline.c b/options/parse_commandline.c
index cd1e70053c..254dc3cba7 100644
--- a/options/parse_commandline.c
+++ b/options/parse_commandline.c
@@ -260,7 +260,7 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files,
// Lock stdin if it will be used as input
if (bstrcmp0(file, "-") == 0)
- m_config_set_option0(config, "input-console", "no");
+ m_config_set_option0(config, "input-terminal", "no");
}
}