mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
quartz: Drop packets in the transform filter if in the wrong state.
This commit is contained in:
parent
0117468754
commit
8939a41563
@ -54,6 +54,12 @@ static HRESULT TransformFilter_Sample(LPVOID iface, IMediaSample * pSample)
|
||||
|
||||
TRACE("%p %p\n", iface, pSample);
|
||||
|
||||
if (This->state == State_Paused)
|
||||
return S_FALSE;
|
||||
|
||||
if (This->state == State_Stopped)
|
||||
return VFW_E_WRONG_STATE;
|
||||
|
||||
return This->pFuncsTable->pfnProcessSampleData(This, pSample);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user