diff options
author | wm4 <wm4@nowhere> | 2014-08-01 22:57:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-01 22:57:56 +0200 |
commit | bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0 (patch) | |
tree | c689fb6dc891f72b44eb7895dc57f9c376add0ed /common/msg.c | |
parent | 6aac17cebbcec645a9c07043b78d57a9b04f2578 (diff) | |
download | mpv-bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0.tar.bz2 mpv-bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0.tar.xz |
Remove the last remains of slave mode
Almost nothing was left of it.
The only thing this commit actually removes is support for reading
input commands from stdin. But you can emulate this via:
--input-file=/dev/stdin --input-terminal=no
However, this won't work on Windows. Just use a named pipe.
Diffstat (limited to 'common/msg.c')
-rw-r--r-- | common/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/msg.c b/common/msg.c index 4f9bd886a5..d1c2530c2c 100644 --- a/common/msg.c +++ b/common/msg.c @@ -429,7 +429,7 @@ void mp_msg_update_msglevels(struct mpv_global *global) root->show_time = opts->msg_time; if (root->use_terminal) { root->color = opts->msg_color && isatty(fileno(stdout)); - root->termosd = !opts->slave_mode && isatty(fileno(stderr)); + root->termosd = isatty(fileno(stderr)); } talloc_free(root->msglevels); |