Nov. 20, 2023
10:02 a.m.
On Mon Nov 20 10:22:21 2023 +0000, Rémi Bernon wrote:
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`. I don't think adding checks based on the way those GUIDs are declared makes it more readable.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4439#note_52902