[MPlayer-cvslog] CVS: main mplayer.c,1.812,1.813

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Nov 20 11:51:15 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv28437

Modified Files:
	mplayer.c 
Log Message:
add "pausing" prefix for MPlayer commands


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.812
retrieving revision 1.813
diff -u -r1.812 -r1.813
--- mplayer.c	15 Nov 2004 15:29:39 -0000	1.812
+++ mplayer.c	20 Nov 2004 10:51:13 -0000	1.813
@@ -2749,7 +2749,7 @@
     } break;
     case MP_CMD_FRAME_STEP :
     case MP_CMD_PAUSE : {
-      osd_function=OSD_PAUSE;
+      cmd->pausing = 1;
       brk_cmd = 1;
     } break;
     case MP_CMD_QUIT : {
@@ -3664,6 +3664,8 @@
       mp_msg(MSGT_CPLAYER, MSGL_V, "Received unknown cmd %s\n",cmd->name);
     }
     }
+    if (cmd->pausing)
+      osd_function = OSD_PAUSE;
     mp_cmd_free(cmd);
   }
 }




More information about the MPlayer-cvslog mailing list