1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py Sat Jun 30 14:16:59 2007 +0100
1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py Thu Aug 16 15:24:01 2007 +0100
1.3 @@ -7,8 +7,6 @@
1.4
1.5 from select import select
1.6
1.7 -buffer_size = 1024 * 64
1.8 -
1.9 def _setup_mythfilename(self):
1.10 # mythtv:mythtv@192.168.3.110:6543/1002_20070426230000.nuv
1.11 try:
1.12 @@ -91,10 +89,8 @@
1.13 r, w, x = select([self.gmyth.stderr, self.proc.stdout],
1.14 [], [], 0)
1.15 if self.proc.stdout in r:
1.16 - d = self.proc.stdout.read(buffer_size)
1.17 - outfd.write("%x\r\n", len(d))
1.18 + d = self.proc.stdout.read(4096)
1.19 outfd.write(d)
1.20 - outfd.write("\r\n")
1.21
1.22 if self.gmyth.stderr in r:
1.23 partial = self.gmyth.stderr.readline()
1.24 @@ -102,8 +98,6 @@
1.25 self.status = utils.progress_bar(int(partial),
1.26 int(size), 50)
1.27
1.28 - outfd.write("0\r\n\r\n")
1.29 -
1.30 except IndexError, e:
1.31 pass
1.32 except Exception, e: