Module: wine Branch: master Commit: 3e02882508ae37532752820d1d9ef8965e5fe237 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e02882508ae37532752820d1d...
Author: Anton Baskanov baskanov@gmail.com Date: Sat Jan 30 22:01:22 2016 +0600
strmbase: Decommit allocator when streaming stops.
Signed-off-by: Anton Baskanov baskanov@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/strmbase/transform.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c index 59c89be..4ad9730 100644 --- a/dlls/strmbase/transform.c +++ b/dlls/strmbase/transform.c @@ -365,6 +365,8 @@ HRESULT WINAPI TransformFilterImpl_Stop(IBaseFilter * iface) This->filter.state = State_Stopped; if (This->pFuncsTable->pfnStopStreaming) hr = This->pFuncsTable->pfnStopStreaming(This); + if (SUCCEEDED(hr)) + hr = BaseOutputPinImpl_Inactive(impl_BaseOutputPin_from_IPin(This->ppPins[1])); } LeaveCriticalSection(&This->csReceive);