Mercurial > mplayer.hg
changeset 3934:e8e7ca8995a1
codecs.conf parser hangup fixed by iive, cpu usage reset at start
author | arpi |
---|---|
date | Tue, 01 Jan 2002 22:46:07 +0000 |
parents | 60db4273246d |
children | 422d65c712a0 |
files | mplayer.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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();