From 405e21d5589c5563f9e0ab00b3ed1c9a4a498faf Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 16 Apr 2008 14:25:03 -0700 Subject: [PATCH] quartz: Reject samples in transform filter only when stopped. Use S_FALSE for saying sample is rejected. --- dlls/quartz/transform.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/quartz/transform.c b/dlls/quartz/transform.c index 936d96d4a9d..b090e5bdcc6 100644 --- a/dlls/quartz/transform.c +++ b/dlls/quartz/transform.c @@ -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); }