[svn r686] fixed gmencoder trunk
authorrenatofilho
Wed May 16 23:53:36 2007 +0100 (2007-05-16)
branchtrunk
changeset 6806c0f6e4bd591
parent 679 c9757033ccc6
child 681 1d488185037f
[svn r686] fixed gmencoder
gmyth-stream/server/0.2/plugins/transcoders/gmencoder.py
     1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/gmencoder.py	Wed May 16 23:53:02 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/gmencoder.py	Wed May 16 23:53:36 2007 +0100
     1.3 @@ -58,8 +58,11 @@
     1.4  				r, w, x = select.select([self.proc.stdout], [], [], 0)
     1.5  				if self.proc.stdout in r:
     1.6  					progress = self.proc.stdout.readline()
     1.7 +					self.log.info ("stdout %s" % progress)
     1.8  					if (progress.find ("PROGRESS") >= 0):
     1.9  						self.status = progress.split (":")[1]
    1.10 +					#if (progress.find ("DONE") >= 0):
    1.11 +					#	break
    1.12  			self.log.info ("Process exit")
    1.13          except Exception, e:
    1.14              self.log.error("Problems handling data: %s" % e)