Jacek Caban : qcap: Added AVICompressorIn_Disconnect implementation.
Module: wine Branch: master Commit: 955ce003aec2ac6f1bcdc3cef5b5c08484fac9cc URL: http://source.winehq.org/git/wine.git/?a=commit;h=955ce003aec2ac6f1bcdc3cef5... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Mar 3 15:43:19 2014 +0100 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 aedcf27..caef183 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 = {
participants (1)
-
Alexandre Julliard