Browse Source

dshow: release pin on disconnect

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
tags/n0.9
Ramiro Polla Stefano Sabatini 13 years ago
parent
commit
0b951d103d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavdevice/dshow_pin.c

+ 1
- 0
libavdevice/dshow_pin.c View File

@@ -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…
Cancel
Save