From d304c1d56c5ffc242a0ffefcc2a1c9fedb12f56c Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 26 May 2010 17:27:38 +0000 Subject: Disable waking the cache process up via a signal, it currently causes read errors due to not handling EINTR. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31223 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/cache2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/cache2.c b/stream/cache2.c index 51989ebd2a..fef316f627 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -102,7 +102,10 @@ static void cache_wakeup(stream_t *s) { #if FORKED_CACHE // signal process to wake up immediately - kill(s->cache_pid, SIGUSR1); + // Disabled for now since it causes incorrect EOFs + // due to interrupting read syscalls - this should be + // fixed instead though +// kill(s->cache_pid, SIGUSR1); #endif } -- cgit v1.2.3