branch | trunk |
changeset 744 | ef4fb30176dd |
parent 742 | fe8ddffd7f5c |
child 748 | bf9dac4bdc5d |
1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py Mon Jun 04 12:30:07 2007 +0100 1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py Tue Jun 05 12:32:43 2007 +0100 1.3 @@ -236,8 +236,8 @@ 1.4 os.write(stdw, data_in) 1.5 total_read += 4096 1.6 d = stdout.read(4096) 1.7 - self.status = utils.progress_bar(int(total_read), 1.8 - int(size), 50) 1.9 + self.status = utils.progress_bar(total_read, 1.10 + size, 50) 1.11 else: 1.12 finished = True 1.13 os.close(stdw)