March 30, 2026
4:38 a.m.
Rémi Bernon (@rbernon) commented about dlls/mf/topology_loader.c:
return hr; }
+static HRESULT topology_branch_complete_connection(struct topology_branch *branch, IMFMediaTypeHandler *up_handler, + IMFMediaType *up_type) +{ + HRESULT hr = S_OK; + + /* Current type is set for sources when enumerating, and always for transforms. */ + if (branch->up.enumerate || topology_node_get_type(branch->up.node) == MF_TOPOLOGY_TRANSFORM_NODE) + hr = IMFMediaTypeHandler_SetCurrentMediaType(up_handler, up_type);
Isn't this done already for transforms in `topology_branch_is_input_type_supported`? What about moving the "enumerate" case there as well? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10009#note_134333