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:
parent
7267588a98
commit
088031f691
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user