[Mplayer-cvslog] CVS: main mplayer.c,1.290,1.291
Arpi of Ize
arpi at mplayer.dev.hu
Sun Oct 7 02:58:15 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv29210
Modified Files:
mplayer.c
Log Message:
ugly hack for bad codecs.conf hangup
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -r1.290 -r1.291
--- mplayer.c 6 Oct 2001 00:59:45 -0000 1.290
+++ mplayer.c 7 Oct 2001 00:57:28 -0000 1.291
@@ -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);
}
}
More information about the MPlayer-cvslog
mailing list