[PATCH] quartz/filtergraph: Return correct interface for IID_IGraphVersion.
Zebediah Figura
z.figura12 at gmail.com
Fri Sep 14 17:34:25 CDT 2018
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/quartz/filtergraph.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 03fdd19..ac915f6 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -442,8 +442,8 @@ static HRESULT WINAPI FilterGraphInner_QueryInterface(IUnknown *iface, REFIID ri
TRACE(" returning IFilterMapper3 interface from aggregated filtermapper (%p)\n", *ppvObj);
return IUnknown_QueryInterface(This->punkFilterMapper2, riid, ppvObj);
} else if (IsEqualGUID(&IID_IGraphVersion, riid)) {
- *ppvObj = &This->IGraphConfig_iface;
- TRACE(" returning IGraphConfig interface (%p)\n", *ppvObj);
+ *ppvObj = &This->IGraphVersion_iface;
+ TRACE(" returning IGraphVersion interface (%p)\n", *ppvObj);
} else if (IsEqualGUID(&IID_IVideoFrameStep, riid)) {
*ppvObj = &This->IVideoFrameStep_iface;
TRACE(" returning IVideoFrameStep interface (%p)\n", *ppvObj);
--
2.7.4
More information about the wine-devel
mailing list