From 955ce003aec2ac6f1bcdc3cef5b5c08484fac9cc Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 3 Mar 2014 15:43:19 +0100 Subject: [PATCH] qcap: Added AVICompressorIn_Disconnect implementation. --- dlls/qcap/avico.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dlls/qcap/avico.c b/dlls/qcap/avico.c index aedcf2728d2..caef1832891 100644 --- a/dlls/qcap/avico.c +++ b/dlls/qcap/avico.c @@ -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 = {