summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-05 00:14:36 +0200
committerwm4 <wm4@nowhere>2015-05-05 01:11:16 +0200
commit19ab5f794312eaffb3db8605aef49baccbbbcf85 (patch)
tree58649aa10ce52dce6bc0bf3214da4a52020037d6
parent4d8a7e03944155bf07ba9a775cf9554bb1c76f0f (diff)
downloadmpv-19ab5f794312eaffb3db8605aef49baccbbbcf85.tar.bz2
mpv-19ab5f794312eaffb3db8605aef49baccbbbcf85.tar.xz
ipc: silence some common info messages
They are not really interesting. At least one user complained about the noise resulting from use with shell scripts, which connect and disconnect immediately.
-rw-r--r--input/ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input/ipc.c b/input/ipc.c
index f1caeeec7a..05561ddd83 100644
--- a/input/ipc.c
+++ b/input/ipc.c
@@ -529,7 +529,7 @@ static void *client_thread(void *p)
goto done;
}
- MP_INFO(arg, "Client connected\n");
+ MP_VERBOSE(arg, "Client connected\n");
struct pollfd fds[2] = {
{.events = POLLIN, .fd = pipe_fd},
@@ -597,7 +597,7 @@ static void *client_thread(void *p)
}
if (bytes == 0) {
- MP_INFO(arg, "Client disconnected\n");
+ MP_VERBOSE(arg, "Client disconnected\n");
goto done;
}
@@ -731,7 +731,7 @@ static void *ipc_thread(void *p)
mpthread_set_name("ipc socket listener");
- MP_INFO(arg, "Starting IPC master\n");
+ MP_VERBOSE(arg, "Starting IPC master\n");
ipc_fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (ipc_fd < 0) {