gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py
branchtrunk
changeset 759 6620b7037407
parent 728 6e54ca4a4e9a
child 764 823dad73a2c2
     1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py	Thu May 31 19:36:03 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py	Tue Jun 26 14:32:33 2007 +0100
     1.3 @@ -93,7 +93,7 @@
     1.4                  outfd.write(d)
     1.5  
     1.6              if self.gmyth.stderr in r:
     1.7 -                partial = self.gmyth.stderr.read(50).split("\n")[-2]
     1.8 +                partial = self.gmyth.stderr.readline()
     1.9                  if partial != "":
    1.10                      self.status = utils.progress_bar(int(partial),
    1.11                                                       int(size), 50)