quartz: Clear pin value if not connected.
This commit is contained in:
parent
9009e68c5b
commit
e8a023f9f8
|
@ -408,7 +408,10 @@ HRESULT WINAPI IPinImpl_ConnectedTo(IPin * iface, IPin ** ppPin)
|
|||
hr = S_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
hr = VFW_E_NOT_CONNECTED;
|
||||
*ppPin = NULL;
|
||||
}
|
||||
}
|
||||
LeaveCriticalSection(This->pCritSec);
|
||||
|
||||
|
|
Loading…
Reference in New Issue