Module: wine Branch: master Commit: 92ced51b103d37440f266a369c4adf2f322c541e URL: http://source.winehq.org/git/wine.git/?a=commit;h=92ced51b103d37440f266a369c...
Author: Chris Robinson chris.kcat@gmail.com Date: Mon Jun 4 20:11:25 2007 -0700
quartz: Don't return S_FALSE for failed connections.
---
dlls/quartz/acmwrapper.c | 2 +- dlls/quartz/avidec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c index 210ea1e..b4e3274 100644 --- a/dlls/quartz/acmwrapper.c +++ b/dlls/quartz/acmwrapper.c @@ -228,7 +228,7 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co }
TRACE("Connection refused\n"); - return S_FALSE; + return VFW_E_TYPE_NOT_ACCEPTED; }
static HRESULT ACMWrapper_Cleanup(TransformFilterImpl* pTransformFilter) diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c index 139e44d..7f32288 100644 --- a/dlls/quartz/avidec.c +++ b/dlls/quartz/avidec.c @@ -159,7 +159,7 @@ static HRESULT AVIDec_ProcessEnd(TransformFilterImpl* pTransformFilter) static HRESULT AVIDec_ConnectInput(TransformFilterImpl* pTransformFilter, const AM_MEDIA_TYPE * pmt) { AVIDecImpl* This = (AVIDecImpl*)pTransformFilter; - HRESULT hr = S_FALSE; + HRESULT hr = VFW_E_TYPE_NOT_ACCEPTED;
TRACE("(%p)->(%p)\n", This, pmt);