evr/presenter: Use correct sample size attribute value when setting output mixer type.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-05-31 13:31:13 +03:00 committed by Alexandre Julliard
parent 5d83662217
commit a00a09c470
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ static HRESULT video_presenter_configure_output_type(struct video_presenter *pre
if (SUCCEEDED(hr))
hr = IMFMediaType_SetUINT32(media_type, &MF_MT_DEFAULT_STRIDE, stride);
if (SUCCEEDED(hr))
hr = IMFMediaType_SetUINT32(media_type, &MF_MT_SAMPLE_SIZE, stride);
hr = IMFMediaType_SetUINT32(media_type, &MF_MT_SAMPLE_SIZE, size);
}
return hr;