summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-29 16:47:19 +0200
committerwm4 <wm4@nowhere>2016-09-29 16:47:19 +0200
commitb6920372c23fe79a61855c65511c4807b96a7f2e (patch)
tree4bf0f93ca5a7a6fb3249cb901e4229ad5f10207d
parent86ab4b8a9fbcbb337add2bf06985c5de2aea7a90 (diff)
downloadmpv-b6920372c23fe79a61855c65511c4807b96a7f2e.tar.bz2
mpv-b6920372c23fe79a61855c65511c4807b96a7f2e.tar.xz
ipc: log when listening to IPC socket
Fixes #3598.
-rw-r--r--input/ipc-unix.c2
-rw-r--r--input/ipc-win.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/input/ipc-unix.c b/input/ipc-unix.c
index b0400496ff..e4b98edfc9 100644
--- a/input/ipc-unix.c
+++ b/input/ipc-unix.c
@@ -339,6 +339,8 @@ static void *ipc_thread(void *p)
goto done;
}
+ MP_VERBOSE(arg, "Listening to IPC socket.\n");
+
int client_num = 0;
struct pollfd fds[2] = {
diff --git a/input/ipc-win.c b/input/ipc-win.c
index 94f5199bf1..6908683d8d 100644
--- a/input/ipc-win.c
+++ b/input/ipc-win.c
@@ -377,6 +377,8 @@ static void *ipc_thread(void *p)
goto done;
}
+ MP_VERBOSE(arg, "Listening to IPC pipe.\n");
+
while (1) {
DWORD err = ConnectNamedPipe(server, &ol) ? 0 : GetLastError();