From: Conor McCarthy <cmccarthy@codeweavers.com> The number of output samples which may be queued in the decoder can depend on the number of threads used. A requirement of 24 has been observed, but 30 provides a buffer for edge cases. --- dlls/winegstreamer/video_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winegstreamer/video_decoder.c b/dlls/winegstreamer/video_decoder.c index 7e8b7de754a..b8c10cc7a43 100644 --- a/dlls/winegstreamer/video_decoder.c +++ b/dlls/winegstreamer/video_decoder.c @@ -450,7 +450,7 @@ static HRESULT init_allocator(struct video_decoder *decoder) if (FAILED(hr = IMFTransform_SetOutputType(decoder->copier, 0, decoder->output_type, 0))) return hr; - if (FAILED(hr = IMFVideoSampleAllocatorEx_InitializeSampleAllocatorEx(decoder->allocator, 10, 10, + if (FAILED(hr = IMFVideoSampleAllocatorEx_InitializeSampleAllocatorEx(decoder->allocator, 10, 30, decoder->attributes, decoder->output_type))) return hr; decoder->allocator_initialized = TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10975