Nikolay Sivov (@nsivov) commented about dlls/mfreadwrite/reader.c:
+ { + /* Video processor should rectify the aspect ratio so the output has aspect ratio of 1:1. + * We are doing this here by explicitly changing the target frame size. + * + * Alternatively it's possible to pass along a aspect ratio of 1:1 and let winegstreamer + * handle it, but unfortunately gstreamer has a way of calcuating desired frame sizes that's + * different from Windows native. */ + + UINT64 new_h = h * par_h / par_w; + IMFMediaType_SetUINT64(dst_type, &MF_MT_FRAME_SIZE, ((UINT64)w << 32) + new_h); + } + else + { + media_type_try_copy_attr(dst_type, src_type, &MF_MT_FRAME_SIZE, &hr); + media_type_try_copy_attr(dst_type, src_type, &MF_MT_PIXEL_ASPECT_RATIO, &hr); + } Does this mean we should not be fixing it up here, and processor should do everything instead?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10535#note_137453