Nikolay Sivov (@nsivov) commented about dlls/mfreadwrite/reader.c:
entry->min_buffer_size = max(entry->min_buffer_size, bytes_per_second); }
+ if (IsEqualGUID(&out_type.guidMajorType, &MFMediaType_Video) && IsEqualGUID(&out_type.guidSubtype, &MFVideoFormat_ABGR32) + && IsEqualGUID(&category, &MFT_CATEGORY_VIDEO_PROCESSOR)) + { + /* The video processor isn't registered for MFVideoFormat_ABGR32, and native event only supports that format when + * D3D-enabled, we want to instanciante a video processor nonetheless in such case, so fixup the subtype for MFTEnumEx. + */ + WARN("Fixing up MFVideoFormat_ABGR32 subtype for the video processor\n"); + out_type.guidSubtype = MFVideoFormat_RGB32; + }
Does that mean RGB32 and ABGR32 are interchangeable? There a few typos in the comment text also. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5626#note_70660