Commit 0b951d10 authored by Ramiro Polla's avatar Ramiro Polla Committed by Stefano Sabatini

dshow: release pin on disconnect

Signed-off-by: 's avatarStefano Sabatini <stefasab@gmail.com>
parent c7807eeb
......@@ -73,6 +73,7 @@ libAVPin_Disconnect(libAVPin *this)
return VFW_E_NOT_STOPPED;
if (!this->connectedto)
return S_FALSE;
IPin_Release(this->connectedto);
this->connectedto = NULL;
return S_OK;
......
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