Jacek Caban : qcap: Added AVICompressorIn_Disconnect implementation.
Alexandre Julliard
julliard at winehq.org
Mon Mar 3 13:20:10 CST 2014
Module: wine
Branch: master
Commit: 955ce003aec2ac6f1bcdc3cef5b5c08484fac9cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=955ce003aec2ac6f1bcdc3cef5b5c08484fac9cc
Author: Jacek Caban <jacek at 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 = {
More information about the wine-cvs
mailing list