mirror of https://github.com/mpv-player/mpv
parent
86ab4b8a9f
commit
b6920372c2
|
@ -339,6 +339,8 @@ static void *ipc_thread(void *p)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MP_VERBOSE(arg, "Listening to IPC socket.\n");
|
||||||
|
|
||||||
int client_num = 0;
|
int client_num = 0;
|
||||||
|
|
||||||
struct pollfd fds[2] = {
|
struct pollfd fds[2] = {
|
||||||
|
|
|
@ -377,6 +377,8 @@ static void *ipc_thread(void *p)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MP_VERBOSE(arg, "Listening to IPC pipe.\n");
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
DWORD err = ConnectNamedPipe(server, &ol) ? 0 : GetLastError();
|
DWORD err = ConnectNamedPipe(server, &ol) ? 0 : GetLastError();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue