[PATCH 1/3] winegstreamer: Bump buffers to 2 in transform filter
Maarten Lankhorst
m.b.lankhorst at gmail.com
Thu Nov 11 16:22:58 CST 2010
---
dlls/winegstreamer/gsttffilter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winegstreamer/gsttffilter.c b/dlls/winegstreamer/gsttffilter.c
index d3b2922..a304cc1 100644
--- a/dlls/winegstreamer/gsttffilter.c
+++ b/dlls/winegstreamer/gsttffilter.c
@@ -141,8 +141,8 @@ static HRESULT WINAPI Gstreamer_transform_DecideBufferSize(TransformFilter *tf,
ppropInputRequest->cbBuffer = This->cbBuffer;
- if (!ppropInputRequest->cBuffers)
- ppropInputRequest->cBuffers = 1;
+ if (ppropInputRequest->cBuffers < 2)
+ ppropInputRequest->cBuffers = 2;
return IMemAllocator_SetProperties(pAlloc, ppropInputRequest, &actual);
}
--
1.7.1
More information about the wine-patches
mailing list