# HG changeset patch # User reimar # Date 1188228072 0 # Node ID d15e78b799b53f3897a3933c1d319a8835f1391e # Parent 3e2fc119e4f4b28a93bb069ed9cdf531c7da23a0 Process any waiting commands (got_cmd set). Should fix e.g. smplayer. diff -r 3e2fc119e4f4 -r d15e78b799b5 input/input.c --- a/input/input.c Mon Aug 27 12:00:55 2007 +0000 +++ b/input/input.c Mon Aug 27 15:21:12 2007 +0000 @@ -1218,7 +1218,8 @@ char *cmd; int r; #ifdef HAVE_POSIX_SELECT - if (!cmd_fds[i].no_select && !FD_ISSET(cmd_fds[i].fd, &fds)) + if (!cmd_fds[i].no_select && !FD_ISSET(cmd_fds[i].fd, &fds) && + !cmd_fds[i].got_cmd) continue; #endif r = mp_input_read_cmd(&cmd_fds[i], &cmd);