From 3e02882508ae37532752820d1d9ef8965e5fe237 Mon Sep 17 00:00:00 2001 From: Anton Baskanov Date: Sat, 30 Jan 2016 22:01:22 +0600 Subject: [PATCH] strmbase: Decommit allocator when streaming stops. Signed-off-by: Anton Baskanov Signed-off-by: Alexandre Julliard --- dlls/strmbase/transform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c index 59c89be7712..4ad9730a69b 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);