quartz: DSoundRender shouldn't delete buffer when already connected.

This commit is contained in:
Maarten Lankhorst 2008-06-16 17:16:38 -07:00 committed by Alexandre Julliard
parent 3d43a629d0
commit d283bcdb62
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ static HRESULT WINAPI DSoundRender_InputPin_ReceiveConnection(IPin * iface, IPin
This->pin.pConnectedTo = pReceivePin;
IPin_AddRef(pReceivePin);
}
else
else if (hr != VFW_E_ALREADY_CONNECTED)
{
if (DSImpl->dsbuffer)
IDirectSoundBuffer_Release(DSImpl->dsbuffer);