mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 22:43:38 +00:00
quartz: Don't return S_FALSE for failed connections.
This commit is contained in:
parent
1e64bb93a4
commit
92ced51b10
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue