use of org.fagu.fmv.ffmpeg.operation.AutoMap in project fmv by f-agu.
the class FilterGraphUI method addTail.
/**
*/
private void addTail() {
// TODO autoMap by outputProcessor
AutoMap autoMap = operation.getAutoMap();
Set<Label> labels = autoMap.find(operation);
Node node = graph.addNode("output");
node.addAttribute("ui.label", "output");
node.addAttribute("ui.class", "root");
for (Label label : labels) {
// System.out.println(filterNaming.generate(label));
Set<FilterComplex> fcs = filterGraph.getByOut(label);
for (FilterComplex outFC : fcs) {
Node inNode = createOrGetNode(outFC);
graph.addEdge("output" + label, inNode, node);
}
}
}
Aggregations