From bf5b1e9a0517b357b93ffaef7b6d96ad8b9917b0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Aug 2014 22:57:56 +0200 Subject: 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. --- common/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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); -- cgit v1.2.3