19 Nov
2025
19 Nov
'25
12:15 a.m.
On Mon Nov 17 18:26:41 2025 +0000, Elizabeth Figura wrote:
Are you referring to negative `MF_MT_DEFAULT_STRIDE` in (at least) video processor `normalize_media_types()`? Currently it appears to assume the format is not bottom-up if `MF_MT_DEFAULT_STRIDE` is set. No, I'm referring to MFVideoFlag_BottomUpLinearRep interpreted by align_video_info_planes(), and set by MFCreateMFVideoFormatFromMFMediaType(). We could allow a wg_sample to have a negative stride, and handle it where necessary, but why is that better than relying on MFVideoFlag_BottomUpLinearRep, which MFCreateMFVideoFormatFromMFMediaType() is required to set?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8812#note_122915