[Mplayer-cvslog] CVS: main mplayer.c,1.103,1.104
GEREOFFY
arpi_esp at users.sourceforge.net
Sat May 5 17:44:09 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv9716
Modified Files:
mplayer.c
Log Message:
Fixed bug of mplayer freezing - better
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -C2 -r1.103 -r1.104
*** mplayer.c 2001/05/05 13:11:31 1.103
--- mplayer.c 2001/05/05 15:44:07 1.104
***************
*** 1646,1649 ****
--- 1646,1650 ----
(!f || getch2(20)<=0) && mplayer_get_key()<=0){
video_out->check_events();
+ if(!f) usleep(1000); // do not eat the CPU
}
osd_function=OSD_PLAY;
***************
*** 1661,1665 ****
(c=lirc_mp_getinput())>0 ||
#endif
! (!f && (c=getch2(0)))>0 || (c=mplayer_get_key())>0) switch(c){
// seek 10 sec
case KEY_RIGHT:
--- 1662,1666 ----
(c=lirc_mp_getinput())>0 ||
#endif
! (f && (c=getch2(0))>0) || (c=mplayer_get_key())>0) switch(c){
// seek 10 sec
case KEY_RIGHT:
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list