On Mon Mar 3 12:43:12 2025 +0000, Rémi Bernon wrote:
I'm not sure it's worth adding more checks here, it was mostly just to pass the tests but I don't think anything should care about it failing with specific sizes. If some tests are getting in the way they can be changed to todo_wine / removed.
I'm happy to mark the tests as `todo`. I don't want to remove any (as I think they're the most accurate documentation we have of the Windows API).
But to pass the existing failing test (`mf:transform transform.c:2587`), I think I need at least `wfx.Format.cbSize < 2 + CBSIZE(WAVEFORMATEXTENSIBLE)`. That will ensure `MF_MT_USER_DATA` is present and at least a size of 2.
Alternatively I could call `IMFMediaType_GetBlobSize` on `type` and check it that way.
That's assuming you didn't mean to mark the existing failing test as `todo` ?