mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
client API: fix inverted condition
Oops. Sigh.
This commit is contained in:
parent
3b755642c8
commit
1279ebf5c5
@ -210,7 +210,7 @@ static void wakeup_client(struct mpv_handle *ctx)
|
||||
pthread_cond_signal(&ctx->wakeup);
|
||||
if (ctx->wakeup_cb)
|
||||
ctx->wakeup_cb(ctx->wakeup_cb_ctx);
|
||||
if (ctx->wakeup_pipe[0] == -1)
|
||||
if (ctx->wakeup_pipe[0] != -1)
|
||||
write(ctx->wakeup_pipe[0], &(char){0}, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user