diff -r 2eef40885322 -r b94790c04fd5 gmyth-stream/plugins/media/mencoder.py --- a/gmyth-stream/plugins/media/mencoder.py Fri Mar 30 23:07:54 2007 +0100 +++ b/gmyth-stream/plugins/media/mencoder.py Fri Mar 30 23:12:52 2007 +0100 @@ -49,7 +49,6 @@ self.socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM) self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) self.socket.bind( ('', self.port) ) - self.socket.settimeout(10) self.socket.listen(1) def play(self): @@ -66,7 +65,7 @@ conn,addr= self.socket.accept() lib.log("Sending Data to client: %s" % addr[0]) - data = fifo.read(4096) + data = fifo.read(1024) conn.settimeout(5) retry = 0 @@ -77,7 +76,7 @@ lib.log("Socket error (maybe timeout ?)") retry += 1 - data = fifo.read(4096) + data = fifo.read(1024) if (retry < 5): lib.log("Finished sending Data to client: %s" % addr[0])