summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index c9c31922b7..da14e91edb 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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);
}
}