Commit 405e21d5 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Reject samples in transform filter only when stopped.

Use S_FALSE for saying sample is rejected.
parent 3dc8384a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment