From 381bd1c0ca250b22a5b77f55c9d4614d606575ef Mon Sep 17 00:00:00 2001 From: Paul Chitescu Date: Wed, 17 Feb 2010 12:52:28 +0200 Subject: [PATCH] qedit: Always print a TRACE when a SampleGrabber pin gets connected. --- dlls/qedit/samplegrabber.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/qedit/samplegrabber.c b/dlls/qedit/samplegrabber.c index 45380043633..b4912eb63de 100644 --- a/dlls/qedit/samplegrabber.c +++ b/dlls/qedit/samplegrabber.c @@ -1022,8 +1022,8 @@ SampleGrabber_Out_IPin_Connect(IPin *iface, IPin *receiver, const AM_MEDIA_TYPE IMemInputPin_Release(This->sg->memOutput); This->sg->memOutput = NULL; } - if (SUCCEEDED(IPin_QueryInterface(receiver,&IID_IMemInputPin,(void **)&(This->sg->memOutput)))) - TRACE("pair IMemInputPin %p\n", This->sg->memOutput); + IPin_QueryInterface(receiver,&IID_IMemInputPin,(void **)&(This->sg->memOutput)); + TRACE("(%p) Accepted IPin %p, IMemInputPin %p\n", This, receiver, This->sg->memOutput); return S_OK; } @@ -1066,6 +1066,7 @@ SampleGrabber_In_IPin_ReceiveConnection(IPin *iface, IPin *connector, const AM_M This->sg->mtype.pbFormat = NULL; } This->pair = connector; + TRACE("(%p) Accepted IPin %p\n", This, connector); return S_OK; }