Commit d283bcdb authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

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

parent 3d43a629
...@@ -780,7 +780,7 @@ static HRESULT WINAPI DSoundRender_InputPin_ReceiveConnection(IPin * iface, IPin ...@@ -780,7 +780,7 @@ static HRESULT WINAPI DSoundRender_InputPin_ReceiveConnection(IPin * iface, IPin
This->pin.pConnectedTo = pReceivePin; This->pin.pConnectedTo = pReceivePin;
IPin_AddRef(pReceivePin); IPin_AddRef(pReceivePin);
} }
else else if (hr != VFW_E_ALREADY_CONNECTED)
{ {
if (DSImpl->dsbuffer) if (DSImpl->dsbuffer)
IDirectSoundBuffer_Release(DSImpl->dsbuffer); IDirectSoundBuffer_Release(DSImpl->dsbuffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment