Rémi Bernon (@rbernon) commented about dlls/mf/topology_loader.c:
WARN("Failed to clone nodes for branch %s\n", debugstr_topology_branch(branch)); - else - hr = topology_branch_connect(context->output_topology, method_mask, branch, NULL); + goto done; + } + + if (FAILED(hr = topology_branch_connect(context->output_topology, method_mask, branch, NULL))) + goto done;
topology_branch_destroy(branch); - if (FAILED(hr)) - break; + branch = NULL; + + if (SUCCEEDED(hr) && SUCCEEDED(hr = IMFTopologyNode_GetOutputCount(down_node, &count)) && count > down_stream) + hr = topology_loader_resolve_subgraph(context, down_node, down_stream);
I don't understand what this does, down_stream is the index of the downstream node input stream? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10645#note_137735