qcap: Added AVICompressorIn_Disconnect implementation.

This commit is contained in:
Jacek Caban 2014-03-03 15:43:19 +01:00 committed by Alexandre Julliard
parent fd3563b2b9
commit 955ce003ae
1 changed files with 11 additions and 2 deletions

View File

@ -416,8 +416,17 @@ static HRESULT WINAPI AVICompressorIn_ReceiveConnection(IPin *iface,
static HRESULT WINAPI AVICompressorIn_Disconnect(IPin *iface)
{
AVICompressor *This = impl_from_IPin(iface);
FIXME("(%p)\n", This);
return E_NOTIMPL;
HRESULT hres;
TRACE("(%p)\n", This);
hres = BasePinImpl_Disconnect(iface);
if(FAILED(hres))
return hres;
heap_free(This->videoinfo);
This->videoinfo = NULL;
return S_OK;
}
static const IPinVtbl AVICompressorInputPinVtbl = {