quartz: Reject samples in transform filter only when stopped.

Use S_FALSE for saying sample is rejected.
This commit is contained in:
Maarten Lankhorst 2008-04-16 14:25:03 -07:00 committed by Alexandre Julliard
parent 3dc8384aa9
commit 405e21d558
1 changed files with 1 additions and 4 deletions

View File

@ -54,11 +54,8 @@ 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 S_FALSE;
return This->pFuncsTable->pfnProcessSampleData(This, pSample);
}