winegstreamer: Bump buffers to 2 in transform filter.
This commit is contained in:
parent
9df3f06cb9
commit
34d4b5a227
|
@ -141,8 +141,8 @@ static HRESULT WINAPI Gstreamer_transform_DecideBufferSize(TransformFilter *tf,
|
||||||
|
|
||||||
ppropInputRequest->cbBuffer = This->cbBuffer;
|
ppropInputRequest->cbBuffer = This->cbBuffer;
|
||||||
|
|
||||||
if (!ppropInputRequest->cBuffers)
|
if (ppropInputRequest->cBuffers < 2)
|
||||||
ppropInputRequest->cBuffers = 1;
|
ppropInputRequest->cBuffers = 2;
|
||||||
|
|
||||||
return IMemAllocator_SetProperties(pAlloc, ppropInputRequest, &actual);
|
return IMemAllocator_SetProperties(pAlloc, ppropInputRequest, &actual);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue