Nikolay Sivov (@nsivov) commented about dlls/evr/presenter.c:
{ if (SUCCEEDED(hr = IDirect3DSurface9_LockRect(readback, &mapped_rect, NULL, D3DLOCK_READONLY))) {
memcpy(*dib, mapped_rect.pBits, *dib_size);
hr = MFCopyImage(stride < 0 ? *dib + *dib_size - stride : *dib, stride,
mapped_rect.pBits, mapped_rect.Pitch, surface_desc.Width * 4, surface_desc.Height); IDirect3DSurface9_UnlockRect(readback);
Could this use same abs(stride) instead of width * 4?