summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-26 17:27:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-26 17:27:38 +0000
commitd304c1d56c5ffc242a0ffefcc2a1c9fedb12f56c (patch)
treefda3c41e5e320ff697baf1b887b453de9f0834e6 /stream
parente43d1dd2472a378d96d1da9d81699791e3de4b9c (diff)
downloadmpv-d304c1d56c5ffc242a0ffefcc2a1c9fedb12f56c.tar.bz2
mpv-d304c1d56c5ffc242a0ffefcc2a1c9fedb12f56c.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/cache2.c5
1 files changed, 4 insertions, 1 deletions
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
}