1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

options: fix "-" (stdin) input

Input through stdin requires disabling the terminal layer, and commit
32c63f forgot to rename the option correctly.
This commit is contained in:
wm4 2014-05-06 01:06:07 +02:00
parent 7267588a98
commit 088031f691

View File

@ -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 // Lock stdin if it will be used as input
if (bstrcmp0(file, "-") == 0) if (bstrcmp0(file, "-") == 0)
m_config_set_option0(config, "input-console", "no"); m_config_set_option0(config, "input-terminal", "no");
} }
} }