From e27adf2a8cf24cebb3f315e0bb4f934170fc93de Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 12 Feb 2014 01:02:40 +0100 Subject: [PATCH] qedit: IMemInputPin / IQualityControl are IPin stuff. --- dlls/qedit/samplegrabber.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dlls/qedit/samplegrabber.c b/dlls/qedit/samplegrabber.c index 15a34715c16..046f912a84d 100644 --- a/dlls/qedit/samplegrabber.c +++ b/dlls/qedit/samplegrabber.c @@ -372,10 +372,8 @@ typedef struct _SG_Impl { IUnknown IUnknown_inner; IBaseFilter IBaseFilter_iface; ISampleGrabber ISampleGrabber_iface; - IMemInputPin IMemInputPin_iface; /* IMediaSeeking and IMediaPosition are implemented by ISeekingPassThru */ IUnknown* seekthru_unk; - /* TODO: IQualityControl */ IUnknown *outer_unk; LONG ref; CRITICAL_SECTION critSect; @@ -384,6 +382,7 @@ typedef struct _SG_Impl { AM_MEDIA_TYPE mtype; SG_Pin pin_in; SG_Pin pin_out; + IMemInputPin IMemInputPin_iface; IMemAllocator *allocator; IReferenceClock *refClock; IMemInputPin *memOutput; @@ -460,14 +459,10 @@ static HRESULT WINAPI SampleGrabber_QueryInterface(IUnknown *iface, REFIID riid, *ppv = &This->IBaseFilter_iface; else if (IsEqualIID(riid, &IID_ISampleGrabber)) *ppv = &This->ISampleGrabber_iface; - else if (IsEqualIID(riid, &IID_IMemInputPin)) - *ppv = &This->IMemInputPin_iface; else if (IsEqualIID(riid, &IID_IMediaPosition)) return IUnknown_QueryInterface(This->seekthru_unk, riid, ppv); else if (IsEqualIID(riid, &IID_IMediaSeeking)) return IUnknown_QueryInterface(This->seekthru_unk, riid, ppv); - else if (IsEqualIID(riid, &IID_IQualityControl)) - FIXME("IQualityControl not implemented\n"); else WARN("(%p, %s,%p): not found\n", This, debugstr_guid(riid), ppv); -- 2.11.4.GIT