Yuxuan Shui (@yshui) commented about dlls/winegstreamer/wm_reader.c:
+ *width = vih->bmiHeader.biWidth; + *height = vih->bmiHeader.biHeight; + return true; + } + if (IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo2)) + { + VIDEOINFOHEADER2 *vih = (VIDEOINFOHEADER2 *)mt->pbFormat; + *width = vih->bmiHeader.biWidth; + *height = vih->bmiHeader.biHeight; + return true; + } + return false; +}
- for (i = 0; i < reader->stream_count; ++i) +static HRESULT find_uncompressed_media_type(IMediaObject *object, AM_MEDIA_TYPE *mt, DWORD *total, bool is_video) I think what should happen here is that we just pick the preferred format from the DMO. And make sure our DMOs have preferences that matches native DMOs.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9567#note_124037