Nikolay Sivov (@nsivov) commented about dlls/evr/presenter.c:
{
rect.right = presenter->native_size.cx;
rect.bottom = presenter->native_size.cy;
- }
MFVideoArea aperture = {{ 0 }};
- aperture.Area.cx = rect.right - rect.left;
- aperture.Area.cy = rect.bottom - rect.top;
rect = presenter->dst_rect;
if (!IsRectEmpty(&rect))
{
aperture.Area.cx = rect.right - rect.left;
aperture.Area.cy = rect.bottom - rect.top;
}
else if (FAILED(IMFMediaType_GetBlob(candidate_type, &MF_MT_GEOMETRIC_APERTURE, (UINT8 *)&aperture,
sizeof(aperture), &size)))
Same here.