30 Nov
2023
30 Nov
'23
8:51 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/dsdmo/main.c:
static HRESULT WINAPI effect_inplace_Process(IMediaObjectInPlace *iface, ULONG size, BYTE *data, REFERENCE_TIME start, DWORD flags) { - FIXME("iface %p, size %lu, data %p, start %s, flags %#lx, stub!\n", - iface, size, data, wine_dbgstr_longlong(start), flags); + static unsigned int once; + + if (!once++) + { + FIXME("iface %p, size %lu, data %p, start %s, flags %#lx, stub!\n", + iface, size, data, wine_dbgstr_longlong(start), flags); Let's add an else branch and print a WARN in it. This is a stub so we don't want to silence it too much.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4510#note_54357