# HG changeset patch # User arpi # Date 1009925167 0 # Node ID e8e7ca8995a1228741d78c987215981bdf5c8372 # Parent 60db4273246d1073cf12d39b0382657cbbc1e643 codecs.conf parser hangup fixed by iive, cpu usage reset at start diff -r 60db4273246d -r e8e7ca8995a1 mplayer.c --- a/mplayer.c Tue Jan 01 20:04:54 2002 +0000 +++ b/mplayer.c Tue Jan 01 22:46:07 2002 +0000 @@ -559,10 +559,10 @@ if(!parse_codec_cfg(CONFDIR"/codecs.conf")){ mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf); // printf("Exit.\n"); -// exit(0); // From unknown reason a hangup occurs here :(((((( - kill(getpid(),SIGTERM); - usleep(20000); - kill(getpid(),SIGKILL); + exit(0); // From unknown reason a hangup occurs here :(((((( +// kill(getpid(),SIGTERM); +// usleep(20000); +// kill(getpid(),SIGKILL); } } @@ -1330,6 +1330,7 @@ InitTimer(); total_time_usage_start=GetTimer(); +audio_time_usage=0; video_time_usage=0; vout_time_usage=0; while(!eof){ // unsigned int aq_total_time=GetTimer();