Module: wine Branch: master Commit: 35f9091beee52cbd7cde0b5e7c2c8bec5b1259dd URL: https://gitlab.winehq.org/wine/wine/-/commit/35f9091beee52cbd7cde0b5e7c2c8be...
Author: Paul Gofman pgofman@codeweavers.com Date: Mon Apr 3 17:23:43 2023 -0600
winegstreamer: Fix check for non-zero padding in h264 transform.
---
dlls/winegstreamer/h264_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/h264_decoder.c b/dlls/winegstreamer/h264_decoder.c index 439701098ad..7d9c38837d3 100644 --- a/dlls/winegstreamer/h264_decoder.c +++ b/dlls/winegstreamer/h264_decoder.c @@ -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 = {