Commit a00a09c4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 5d836622
......@@ -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;
......
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