From 0b951d103dbf105c025d382b51014a91dffb5f4c Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Fri, 9 Sep 2011 00:15:54 -0300 Subject: [PATCH] dshow: release pin on disconnect Signed-off-by: Stefano Sabatini --- libavdevice/dshow_pin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c index f31ecc6c99..5e14108092 100644 --- a/libavdevice/dshow_pin.c +++ b/libavdevice/dshow_pin.c @@ -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;