[PATCH] strmbase: Decommit allocator when streaming stops.

Anton Baskanov baskanov at gmail.com
Sat Jan 30 10:01:22 CST 2016


Signed-off-by: Anton Baskanov <baskanov at gmail.com>

Fixes https://bugs.winehq.org/show_bug.cgi?id=35228
---
 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);
 
-- 
1.9.1




More information about the wine-patches mailing list