Anton Baskanov : strmbase: Decommit allocator when streaming stops.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 1 09:24:45 CST 2016


Module: wine
Branch: master
Commit: 3e02882508ae37532752820d1d9ef8965e5fe237
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e02882508ae37532752820d1d9ef8965e5fe237

Author: Anton Baskanov <baskanov at gmail.com>
Date:   Sat Jan 30 22:01:22 2016 +0600

strmbase: Decommit allocator when streaming stops.

Signed-off-by: Anton Baskanov <baskanov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
 




More information about the wine-cvs mailing list