Fix tests

This commit is contained in:
Silvio Tomatis 2020-09-22 15:41:26 +02:00
parent 0a37ab83f8
commit 61e533abd9

View File

@ -159,7 +159,7 @@ def get_args(stream_spec, overwrite_output=False):
filter_nodes = [node for node in sorted_nodes if isinstance(node, (FilterNode, SourceNode))]
stream_name_map = {(node, None): str(i) for i, node in enumerate(input_nodes)}
filter_arg = _get_filter_arg(filter_nodes, outgoing_edge_maps, stream_name_map)
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:
args += ['-filter_complex', filter_arg]
args += reduce(