mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Don't dup file descriptors
This commit is contained in:
parent
e4fb94754f
commit
769f53cce0
@ -159,8 +159,7 @@ class X264Output(Output, ClsMod):
|
||||
extras += ['--output-csp', 'i420', '--chroma-qp-offset', '24']
|
||||
else:
|
||||
extras += ['--output-csp', self.csp]
|
||||
subp = Popen(self.args + extras, stdin=PIPE, stderr=PIPE,
|
||||
stdout=os.dup(outf.fileno()))
|
||||
subp = Popen(self.args + extras, stdin=PIPE, stderr=PIPE, stdout=outf)
|
||||
return outf, subp
|
||||
|
||||
def _spawn(self, framesize):
|
||||
|
Loading…
Reference in New Issue
Block a user