8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677967b commit 7236984Copy full SHA for 7236984
ffmpeg/dag.py
@@ -170,7 +170,8 @@ def visit(node, child):
170
child_map[node].append(child)
171
if node not in sorted_nodes:
172
marked_nodes.append(node)
173
- [visit(parent, node) for parent in node._parents]
+ parents = [edge.upstream_node for edge in node.incoming_edges]
174
+ [visit(parent, node) for parent in parents]
175
marked_nodes.remove(node)
176
sorted_nodes.append(node)
177
unmarked_nodes = list(copy.copy(start_nodes))
0 commit comments