summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 16:22:59 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 16:22:59 +0000
commit19fecf9671c1523dd2cde9905368fee9da4c1ad2 (patch)
treecf0bc2c1c188c5ba8739cfbdf3ced9f118a9eaf5 /libmpdemux
parent4b4a3421eaac8bd99a0137402aa70c7834979445 (diff)
downloadmpv-19fecf9671c1523dd2cde9905368fee9da4c1ad2.tar.bz2
mpv-19fecf9671c1523dd2cde9905368fee9da4c1ad2.tar.xz
gui doesn't like exit() in forged process
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5983 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c
index 75bd926213..edbb662229 100644
--- a/libmpdemux/stream.c
+++ b/libmpdemux/stream.c
@@ -255,7 +255,8 @@ stream_t* new_stream(int fd,int type){
void free_stream(stream_t *s){
printf("\n*** free_stream() called ***\n");
if(s->cache_pid) {
- kill(s->cache_pid,SIGTERM);
+// kill(s->cache_pid,SIGTERM);
+ kill(s->cache_pid,SIGKILL);
waitpid(s->cache_pid,NULL,0);
}
if(s->priv) free(s->priv);