[MPlayer-cvslog] r31223 - trunk/stream/cache2.c

reimar subversion at mplayerhq.hu
Wed May 26 19:27:38 CEST 2010


Author: reimar
Date: Wed May 26 19:27:38 2010
New Revision: 31223

Log:
Disable waking the cache process up via a signal, it
currently causes read errors due to not handling EAGAIN.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Wed May 26 12:05:36 2010	(r31222)
+++ trunk/stream/cache2.c	Wed May 26 19:27:38 2010	(r31223)
@@ -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
 }
 


More information about the MPlayer-cvslog mailing list