[svn r743] Tests with tv trunk
authormorphbr
Fri Jun 01 15:01:43 2007 +0100 (2007-06-01)
branchtrunk
changeset 737fe8df7fd5229
parent 736 1bc4c47e4ad8
child 738 293e6c9546e5
[svn r743] Tests with tv
gmyth-stream/server/0.3/plugins/transcoders/mencoder.py
     1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py	Fri Jun 01 13:48:21 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py	Fri Jun 01 15:01:43 2007 +0100
     1.3 @@ -266,10 +266,11 @@
     1.4          return True
     1.5      # _start()
     1.6  
     1.7 -    def _run_mencoder(self, input=None, output=None):
     1.8 +    def _run_mencoder(self, input=None, output=None, error=os.devnull):
     1.9          try:
    1.10              self.proc = subprocess.Popen(self.mencoder_opts, stdin=input,
    1.11 -                                         stdout=output, close_fds=True)
    1.12 +                                         stdout=output, stderr=error,
    1.13 +                                         close_fds=True)
    1.14          except Exception, e:
    1.15              self.log.error(self.tid, "Error: Mencoder: %s" % e)
    1.16              return False