diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-07 00:57:28 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-07 00:57:28 +0000 |
commit | 8d02d0ae59f7eacefb4ac11cb82400fae8772a2f (patch) | |
tree | 7260542535d6edcf13836d3981a630e8716ce038 | |
parent | c39912c7592f8ca77aa45a9fed0e6bf4f8baf826 (diff) |
ugly hack for bad codecs.conf hangup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2117 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -535,7 +535,11 @@ int gui_no_filename=0; 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); } } |