Nikolay Sivov (@nsivov) commented about dlls/mfplat/tests/mfplat.c:
+ else if (IsEqualGUID(&am_type.subtype, &MEDIASUBTYPE_RGB565)) + ok(video_info->bmiHeader.biCompression == BI_BITFIELDS, + "got compression %s\n", debugstr_fourcc(video_info->bmiHeader.biCompression)); + else + todo_wine_if(IsEqualGUID(&am_type.subtype, &MEDIASUBTYPE_ARGB1555) || IsEqualGUID(&am_type.subtype, &DUMMY_GUID3)) + ok(video_info->bmiHeader.biCompression == BI_RGB, + "got compression %s\n", debugstr_fourcc(video_info->bmiHeader.biCompression)); + CoTaskMemFree(am_type.pbFormat); + + hr = MFInitAMMediaTypeFromMFMediaType(media_type, FORMAT_MFVideoFormat, &am_type); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + ok(IsEqualGUID(&am_type.majortype, &MFMediaType_Video), "Unexpected guid %s.\n", debugstr_guid(&am_type.majortype)); + ok(IsEqualGUID(&am_type.subtype, am_mf_guid_tests[i].mf_type), "Unexpected guid %s.\n", debugstr_guid(&am_type.subtype)); + ok(am_type.cbFormat == sizeof(MFVIDEOFORMAT), "got %lu\n", am_type.cbFormat); + video_format = (MFVIDEOFORMAT *)am_type.pbFormat; + ok(IsEqualGUID(&video_format->guidFormat, am_mf_guid_tests[i].mf_type), "Unexpected guid %s.\n", debugstr_guid(&video_format->guidFormat)); Is it the guidFormat that it doesn't convert?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10682#note_136664