Nov. 20, 2023
10:22 a.m.
On Mon Nov 20 10:15:20 2023 +0000, Nikolay Sivov wrote:
Could you explain why this is useful? I'm not sure what you mean? Only a few RGB format GUID have a different value between MEDIASUBTYPE and MFVideoFormat. The code was converting some YUV formats unnecessarily, and missing other formats that don't need conversion (when they share `MFVideoFormat_Base`).
This is also to make sure the `get_mf_subtype_for_am_subtype` conversion matches the later introduced `get_am_subtype_for_mf_subtype`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4439#note_52833