Mercurial > mplayer.hg
diff input/input.c @ 24225:d15e78b799b5
Process any waiting commands (got_cmd set). Should fix e.g. smplayer.
author | reimar |
---|---|
date | Mon, 27 Aug 2007 15:21:12 +0000 |
parents | a911d41e4e99 |
children | 76f5d8892c04 |
line wrap: on
line diff
--- 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);