Commit 6b9cfd26 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

strmbase: get_VideoHeight should always have a positive height.

parent dc830aa6
......@@ -156,7 +156,7 @@ HRESULT WINAPI BaseControlVideoImpl_get_VideoHeight(IBasicVideo *iface, LONG *pV
TRACE("(%p/%p)->(%p)\n", This, iface, pVideoHeight);
vih = This->pFuncsTable->pfnGetVideoFormat(This);
*pVideoHeight = vih->bmiHeader.biHeight;
*pVideoHeight = abs(vih->bmiHeader.biHeight);
return S_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment