mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
e43d1dd247
commit
d304c1d56c
|
@ -102,7 +102,10 @@ static void cache_wakeup(stream_t *s)
|
||||||
{
|
{
|
||||||
#if FORKED_CACHE
|
#if FORKED_CACHE
|
||||||
// signal process to wake up immediately
|
// 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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue