Module: wine Branch: master Commit: d81df26f7ccf0515a143ba6cb85e596a386c5ec2 URL: https://gitlab.winehq.org/wine/wine/-/commit/d81df26f7ccf0515a143ba6cb85e596...
Author: Aida JonikienÄ— aidas957@gmail.com Date: Sun Nov 26 11:04:58 2023 +0200
dsdmo: Only print effect_inplace_Process() FIXME once.
GTA San Andreas really spams this message in certain situations.
---
dlls/dsdmo/main.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/dlls/dsdmo/main.c b/dlls/dsdmo/main.c index 0879c4e0516..769f040c790 100644 --- a/dlls/dsdmo/main.c +++ b/dlls/dsdmo/main.c @@ -399,8 +399,19 @@ static ULONG WINAPI effect_inplace_Release(IMediaObjectInPlace *iface) 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); + } + else + { + WARN("iface %p, size %lu, data %p, start %s, flags %#lx, stub!\n", + iface, size, data, wine_dbgstr_longlong(start), flags); + } + return E_NOTIMPL; }