diff mplayer.c @ 7483:44198b2f42db

removed unused old keyboard fifo hack removed unused allow_dshow hack
author arpi
date Sun, 22 Sep 2002 15:37:51 +0000
parents c4434bdf6e51
children 8dcbed9ff5db
line wrap: on
line diff
--- a/mplayer.c	Sun Sep 22 14:28:29 2002 +0000
+++ b/mplayer.c	Sun Sep 22 15:37:51 2002 +0000
@@ -180,15 +180,6 @@
 char *audio_fm=NULL;    // override audio codec family 
 char *video_fm=NULL;    // override video codec family 
 
-// IMHO this stuff is no longer of use, or is there a special
-// reason why dshow should be completely disabled? - atmos ::
-// yes, people without working c++ compiler can disable it - A'rpi
-#ifdef USE_DIRECTSHOW
-int allow_dshow=1;
-#else
-int allow_dshow=0;
-#endif
-
 // streaming:
 int audio_id=-1;
 int video_id=-1;
@@ -1874,7 +1865,6 @@
 #endif
 
   if(osd_function==OSD_PAUSE){
-    int pkey=-1;
     mp_cmd_t* cmd;
       if(!quiet) {
 	mp_msg(MSGT_CPLAYER,MSGL_STATUS,MSGTR_Paused);
@@ -1891,7 +1881,6 @@
 
       while( (cmd = mp_input_get_cmd(20,1)) == NULL) {
 	     if(sh_video && video_out && vo_config_count) video_out->check_events();
-             if((pkey=mplayer_get_key()) > 0) break;
 #ifdef HAVE_NEW_GUI
              if(use_gui){
 		guiEventHandling();
@@ -1915,8 +1904,6 @@
         guiGetEvent( guiCEvent,(char *)guiSetPlay );
        }
 #endif
-      if(pkey!=32 && pkey!=112 && pkey!=-1)
-        mplayer_put_key(pkey); // pass on the key
   }
 
 // handle -sstep