Merge 691c956e91def9842dce3022503f53efc5044be8 into df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6

This commit is contained in:
Nitaym 2022-07-29 09:24:19 +09:00 committed by GitHub
commit 461c0df0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,10 +164,10 @@ def get_args(stream_spec, overwrite_output=False):
args += reduce(operator.add, [_get_input_args(node) for node in input_nodes])
if filter_arg:
args += ['-filter_complex', filter_arg]
args += reduce(operator.add, [_get_global_args(node) for node in global_nodes], [])
args += reduce(
operator.add, [_get_output_args(node, stream_name_map) for node in output_nodes]
)
args += reduce(operator.add, [_get_global_args(node) for node in global_nodes], [])
if overwrite_output:
args += ['-y']
return args