On Fri Apr 17 07:44:48 2026 +0000, Nikolay Sivov wrote:
Is it the guidFormat that it doesn't convert? I wanted to check that neither `am_type.subtype` nor `video_format->guidFormat` are converted to DMO subtypes when using FORMAT_MFVideoFormat, to the contrary to the case just above when using FORMAT_VideoInfo where `am_type.subtype` is converted.
This matters for how the color converter should implement its DMO/MFT conversions: it returns AM_MEDIA_TYPE with MFVIDEOFORMAT from its DMO interface when types have been set using the MFT iface, but with the DMO subtypes (and with MF subtypes of course when current type is checked through the MFT iface). As `MFInitAMMediaTypeFromMFMediaType` doesn't convert subtypes in that case, it's up to the color converter to do it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10682#note_136670