# HG changeset patch # User morphbr # Date 1180706503 -3600 # Node ID fe8df7fd5229b8bc435eaf7de7408db026d2b6f7 # Parent 1bc4c47e4ad80081487461cfd204ce0f0cd356e0 [svn r743] Tests with tv diff -r 1bc4c47e4ad8 -r fe8df7fd5229 gmyth-stream/server/0.3/plugins/transcoders/mencoder.py --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py Fri Jun 01 13:48:21 2007 +0100 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder.py Fri Jun 01 15:01:43 2007 +0100 @@ -266,10 +266,11 @@ return True # _start() - def _run_mencoder(self, input=None, output=None): + def _run_mencoder(self, input=None, output=None, error=os.devnull): try: self.proc = subprocess.Popen(self.mencoder_opts, stdin=input, - stdout=output, close_fds=True) + stdout=output, stderr=error, + close_fds=True) except Exception, e: self.log.error(self.tid, "Error: Mencoder: %s" % e) return False