14 Mar
2024
14 Mar
'24
7:35 p.m.
Nikolay Sivov (@nsivov) commented about dlls/mf/topology.c:
+ object->id = id;
*topology = &object->IMFTopology_iface;
return S_OK; }
+/*********************************************************************** + * MFCreateTopology (mf.@) + */ +HRESULT WINAPI MFCreateTopology(IMFTopology **topology) +{ + TRACE("%p.\n", topology); + + return create_topology_with_id(0, topology); +} Just call it with a new topoid value, no need to complicate this.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5281#note_64783