Skip to content

Commit 91ab8dd

Browse files
authored
Update _run.py
1 parent 4cb7d26 commit 91ab8dd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ffmpeg/_run.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def run_async(
199199
pipe_stderr=False,
200200
quiet=False,
201201
overwrite_output=False,
202+
**kwargs,
202203
):
203204
"""Asynchronously invoke ffmpeg for the supplied node graph.
204205
@@ -282,7 +283,7 @@ def run_async(
282283
stdout_stream = subprocess.PIPE if pipe_stdout or quiet else None
283284
stderr_stream = subprocess.PIPE if pipe_stderr or quiet else None
284285
return subprocess.Popen(
285-
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
286+
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream, **kwargs
286287
)
287288

288289

@@ -295,6 +296,7 @@ def run(
295296
input=None,
296297
quiet=False,
297298
overwrite_output=False,
299+
**kwargs,
298300
):
299301
"""Invoke ffmpeg for the supplied node graph.
300302
@@ -318,6 +320,7 @@ def run(
318320
pipe_stderr=capture_stderr,
319321
quiet=quiet,
320322
overwrite_output=overwrite_output,
323+
**kwargs,
321324
)
322325
out, err = process.communicate(input)
323326
retcode = process.poll()

0 commit comments

Comments
 (0)