quartz: Don't return S_FALSE for failed connections.

This commit is contained in:
Chris Robinson 2007-06-04 20:11:25 -07:00 committed by Alexandre Julliard
parent 1e64bb93a4
commit 92ced51b10
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);