[MPlayer-cvslog] r24245 - trunk/input/input.c

reimar subversion at mplayerhq.hu
Mon Aug 27 17:21:12 CEST 2007


Author: reimar
Date: Mon Aug 27 17:21:12 2007
New Revision: 24245

Log:
Process any waiting commands (got_cmd set). Should fix e.g. smplayer.


Modified:
   trunk/input/input.c

Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	(original)
+++ trunk/input/input.c	Mon Aug 27 17:21:12 2007
@@ -1218,7 +1218,8 @@ static mp_cmd_t *read_events(int time, i
 	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);



More information about the MPlayer-cvslog mailing list