[Mplayer-cvslog] CVS: main/input input.c,1.19,1.20

Alex Beregszaszi alex at mplayer.dev.hu
Tue Mar 12 13:04:49 CET 2002


Update of /cvsroot/mplayer/main/input
In directory mplayer:/var/tmp.root/cvs-serv468

Modified Files:
	input.c 
Log Message:
lexical fixes (COSMETIC :)) and one 'real fix': grap_frames -> grab_frames -- feel free to flame and reverse

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- input.c	11 Mar 2002 09:19:15 -0000	1.19
+++ input.c	12 Mar 2002 12:04:40 -0000	1.20
@@ -36,7 +36,7 @@
   { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
   { MP_CMD_QUIT, "quit", 0, { {-1,{0}} } },
   { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } },
-  { MP_CMD_GRAB_FRAMES, "grap_frames",0, { {-1,{0}} }  },
+  { MP_CMD_GRAB_FRAMES, "grab_frames",0, { {-1,{0}} }  },
   { MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },
   { MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1,  { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
   { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
@@ -423,7 +423,7 @@
     case -1:
       ptr = NULL;
     default :
-      printf("Unknow argument %d\n",i);
+      printf("Unknown argument %d\n",i);
     }
   }
   cmd->nargs = i;
@@ -555,7 +555,7 @@
 mp_input_get_cmd_from_keys(int n,int* keys, int paused) {
   char* cmd = NULL;
   mp_cmd_t* ret;
-  // In pause mode we return pause for the first key wich come
+  // In pause mode we return pause for the first key which come
   if(paused)
     return mp_input_parse_cmd("pause");
 
@@ -668,7 +668,7 @@
 	continue;
       }
       code &= ~MP_KEY_DOWN;
-      // Check if we don't alredy have this key as pushed
+      // Check if we don't already have this key as pushed
       for(j = 0; j < num_key_down; j++) { 
 	if(key_down[j] == code)
 	  break;
@@ -682,7 +682,7 @@
       continue;
     }
     // key released
-    // Check if the key is in the down key, driver wich can't send push event
+    // Check if the key is in the down key, driver which can't send push event
     // send only release event
     for(j = 0; j < num_key_down; j++) { 
       if(key_down[j] == code)
@@ -1072,7 +1072,7 @@
 
     // Find the wanted key
     if(keys[0] == 0) {
-      // Jump beginnig space
+      // Jump beginning space
       for(  ; iter[0] != '\0' && strchr(SPACE_CHAR,iter[0]) != NULL ; iter++)
 	/* NOTHING */;
       if(iter[0] == '\0') { // Buffer was full of space char
@@ -1104,7 +1104,7 @@
 	strncpy(name,iter,end-iter);
 	name[end-iter] = '\0';
 	if(! mp_input_get_input_from_name(name,keys)) {
-	  printf("Unknow key '%s'\n",name);
+	  printf("Unknown key '%s'\n",name);
 	  mp_input_free_binds(binds);
 	  return 0;
 	}




More information about the MPlayer-cvslog mailing list