On Fri May 23 16:23:37 2025 +0000, Matteo Bruni wrote:
> Out of curiosity, what happens with BMP?
It's just unsupported for BMP for some reason, there's a test in surface.c for it:
```
hr = D3DXGetImageInfoFromFileInMemory(bmp_2bpp, sizeof(bmp_2bpp), &info);
ok(hr == D3DXERR_INVALIDDATA, "D3DXGetImageInfoFromFileInMemory returned %#lx, expected %#x\n", hr, D3DXERR_INVALIDDATA);
```
Which explains why we had all the other WIC indexed formats _except_ for 2bpp in our `…
[View More]wic_pixel_formats` table :) Seems odd to support 1bpp and 4bpp but not 2bpp, but :man_shrugging:
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8056#note_104797
[View Less]
Before this, if the grabber is stopped while items are
pending and then restarted, it would stop delivering any
items because it does not start the timer while the
pending item list is non-empty.
--
v3: mf: Release pending items when sample grabber is stopped.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8159