Maarten Lankhorst : winegstreamer: Bump buffers to 2 in transform filter.
Alexandre Julliard
julliard at winehq.org
Fri Nov 12 11:22:34 CST 2010
Module: wine
Branch: master
Commit: 34d4b5a22746b0bb7dbc7f60dcf23d8428a06b1a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=34d4b5a22746b0bb7dbc7f60dcf23d8428a06b1a
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Thu Nov 11 23:22:58 2010 +0100
winegstreamer: Bump buffers to 2 in transform filter.
---
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);
}
More information about the wine-cvs
mailing list