comparison libmenu/vf_menu.c @ 9903:7d70e56f317a

10l fix by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
author alex
date Thu, 10 Apr 2003 15:07:59 +0000
parents 6b7710f78c32
children 6180d7558f75
comparison
equal deleted inserted replaced
9902:ca072c661b44 9903:7d70e56f317a
83 83
84 static int cmd_filter(mp_cmd_t* cmd, int paused, struct vf_priv_s * priv) { 84 static int cmd_filter(mp_cmd_t* cmd, int paused, struct vf_priv_s * priv) {
85 85
86 switch(cmd->id) { 86 switch(cmd->id) {
87 case MP_CMD_PAUSE : 87 case MP_CMD_PAUSE :
88 #if 0 // http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-March/017331.html
88 if(!paused && !go2pause) { // Initial pause cmd -> wait the next put_image 89 if(!paused && !go2pause) { // Initial pause cmd -> wait the next put_image
89 go2pause = 1; 90 go2pause = 1;
90 return 1; 91 return 1;
91 } 92 }
93 #endif
92 if(go2pause == 2) // Msg resent by put_image after saving the image 94 if(go2pause == 2) // Msg resent by put_image after saving the image
93 go2pause = 0; 95 go2pause = 0;
94 break; 96 break;
95 case MP_CMD_MENU : { // Convert txt cmd from the users into libmenu stuff 97 case MP_CMD_MENU : { // Convert txt cmd from the users into libmenu stuff
96 char* arg = cmd->args[0].v.s; 98 char* arg = cmd->args[0].v.s;