mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-06 04:15:44 +08:00
Changed the order of the argumets for output to appear last
This commit is contained in:
parent
3cef431045
commit
691c956e91
@ -162,10 +162,10 @@ def get_args(stream_spec, overwrite_output=False):
|
|||||||
args += reduce(operator.add, [_get_input_args(node) for node in input_nodes])
|
args += reduce(operator.add, [_get_input_args(node) for node in input_nodes])
|
||||||
if filter_arg:
|
if filter_arg:
|
||||||
args += ['-filter_complex', filter_arg]
|
args += ['-filter_complex', filter_arg]
|
||||||
|
args += reduce(operator.add, [_get_global_args(node) for node in global_nodes], [])
|
||||||
args += reduce(
|
args += reduce(
|
||||||
operator.add, [_get_output_args(node, stream_name_map) for node in output_nodes]
|
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:
|
if overwrite_output:
|
||||||
args += ['-y']
|
args += ['-y']
|
||||||
return args
|
return args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user