mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 17:07:43 +00:00
dshow: release pin on disconnect
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
parent
c7807eeb78
commit
0b951d103d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue