Commit 35f9091b authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

winegstreamer: Fix check for non-zero padding in h264 transform.

parent 64cca153
......@@ -183,7 +183,8 @@ static HRESULT fill_output_media_type(struct h264_decoder *decoder, IMFMediaType
}
if (FAILED(hr = IMFMediaType_GetItem(media_type, &MF_MT_MINIMUM_DISPLAY_APERTURE, NULL))
&& !IsRectEmpty(&wg_format->u.video.padding))
&& (wg_format->u.video.padding.left || wg_format->u.video.padding.right || wg_format->u.video.padding.top
|| wg_format->u.video.padding.bottom))
{
MFVideoArea aperture =
{
......
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