# HG changeset patch # User arpi # Date 1002416248 0 # Node ID 6365b02ccc6e8824f32d4a4c72d02e15e4248773 # Parent fe1cd4a5109a91ed55f45930c8a18c9070dfebfe ugly hack for bad codecs.conf hangup diff -r fe1cd4a5109a -r 6365b02ccc6e mplayer.c --- a/mplayer.c Sun Oct 07 00:22:43 2001 +0000 +++ b/mplayer.c Sun Oct 07 00:57:28 2001 +0000 @@ -535,7 +535,11 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ if(!parse_codec_cfg(DATADIR"/codecs.conf")){ mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf); - exit(1); +// printf("Exit.\n"); +// exit(0); // From unknown reason a hangup occurs here :(((((( + kill(getpid(),SIGTERM); + usleep(20000); + kill(getpid(),SIGKILL); } }