On Tue Jan 10 03:36:41 2023 +0000, Torge Matthies wrote:
There are tests for `ICM_DECOMPRESS_GET_FORMAT`. I tried to get Windows to report success for any `biBitCount` input that is not 8 or 16, to no avail. So I concluded that `ICM_DECOMPRESS_GET_FORMAT` is implemented correctly and I had to fix the caller. I first implemented some manual fix-ups to the `BITMAPINFOHEADER` in the comctl32 code, but later I found the `ICGetDisplayFormat` function, tried it to see if using it would fix the issue, and it did.
I also looked through the gstreamer code to see if I could find the point where it converted the `biBitCount` of 24 to a depth of 15, but couldn't easily find it.