mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-06 21:12:08 -07:00
fix ffmpeg and FileSource error handling.
This commit is contained in:
parent
552b9d49f2
commit
e1aa8a82f1
6 changed files with 51 additions and 59 deletions
|
@ -14,7 +14,7 @@ def run(args, pipe_stdin=False, pipe_stdout=False, pipe_stderr=False, quiet_std_
|
|||
stdout_stream = subprocess.PIPE if pipe_stdout else None
|
||||
stderr_stream = subprocess.PIPE if pipe_stderr else None
|
||||
|
||||
if quiet_std_err:
|
||||
if quiet_std_err and not pipe_stderr:
|
||||
stderr_stream = subprocess.DEVNULL
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue