mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 09:41:32 +08:00
dshow: release pin on disconnect
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:

committed by
Stefano Sabatini

parent
c7807eeb78
commit
0b951d103d
@@ -73,6 +73,7 @@ libAVPin_Disconnect(libAVPin *this)
|
|||||||
return VFW_E_NOT_STOPPED;
|
return VFW_E_NOT_STOPPED;
|
||||||
if (!this->connectedto)
|
if (!this->connectedto)
|
||||||
return S_FALSE;
|
return S_FALSE;
|
||||||
|
IPin_Release(this->connectedto);
|
||||||
this->connectedto = NULL;
|
this->connectedto = NULL;
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
Reference in New Issue
Block a user