6 Dec
2022
6 Dec
'22
3:55 p.m.
Rémi Bernon (@rbernon) commented about dlls/mf/tests/transform.c:
"Got unexpected cbFormat %lu, expected %lu.\n", media_type.cbFormat, expected->cbFormat);
+ if (expected_info && media_type.cbFormat) + { + if (IsEqualGUID(&expected_type->majortype, &MEDIATYPE_Video)) + check_video_info_header((VIDEOINFOHEADER *)media_type.pbFormat, (VIDEOINFOHEADER *)expected_info + i); + }
Then this should be part of the generic `check_dmo_media_type` check that I suggested to keep, checking that both the actual and the expected types have the same format. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1707#note_18853