[svn r652] * GMyth-Streamer trunk
authormorphbr
Mon May 14 15:05:42 2007 +0100 (2007-05-14)
branchtrunk
changeset 6468bd1033f8bf6
parent 645 17877d6e44e2
child 647 ceb89d5fc325
[svn r652] * GMyth-Streamer
- Mencoder plugin: fixed coding style
gmyth-stream/server/0.2/plugins/transcoders/mencoder.py
     1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py	Fri May 11 15:03:21 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py	Mon May 14 15:05:42 2007 +0100
     1.3 @@ -252,12 +252,14 @@
     1.4          opts = [gmyth_cat, "-h", host, "-p", port, "-" + kind, fchan]
     1.5  
     1.6          try:
     1.7 -            self.gmyth = subprocess.Popen(opts, stdout=subprocess.PIPE, close_fds=True)
     1.8 +            self.gmyth = subprocess.Popen(opts, stdout=subprocess.PIPE,
     1.9 +                                          close_fds=True)
    1.10          except Exception, e:
    1.11              self.log.error("Error executing gmyth-cat: %s" % e)
    1.12              return False
    1.13  
    1.14 -        if not self._run_mencoder(input=self.gmyth.stdout, output=subprocess.PIPE):
    1.15 +        if not self._run_mencoder(input=self.gmyth.stdout,
    1.16 +                                  output=subprocess.PIPE):
    1.17              return False
    1.18  
    1.19          show_loading = 0