mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
strmbase: Decommit allocator when streaming stops.
Signed-off-by: Anton Baskanov <baskanov@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
db105f08d2
commit
3e02882508
1 changed files with 2 additions and 0 deletions
|
@ -365,6 +365,8 @@ HRESULT WINAPI TransformFilterImpl_Stop(IBaseFilter * iface)
|
||||||
This->filter.state = State_Stopped;
|
This->filter.state = State_Stopped;
|
||||||
if (This->pFuncsTable->pfnStopStreaming)
|
if (This->pFuncsTable->pfnStopStreaming)
|
||||||
hr = This->pFuncsTable->pfnStopStreaming(This);
|
hr = This->pFuncsTable->pfnStopStreaming(This);
|
||||||
|
if (SUCCEEDED(hr))
|
||||||
|
hr = BaseOutputPinImpl_Inactive(impl_BaseOutputPin_from_IPin(This->ppPins[1]));
|
||||||
}
|
}
|
||||||
LeaveCriticalSection(&This->csReceive);
|
LeaveCriticalSection(&This->csReceive);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue