strmbase: Decommit allocator when streaming stops.

Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Anton Baskanov 2016-01-30 22:01:22 +06:00 committed by Alexandre Julliard
parent db105f08d2
commit 3e02882508
1 changed files with 2 additions and 0 deletions

View File

@ -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);