From 5fb4224f81c8b18ede56dd723c68fb74b76b83a4 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Thu, 10 Apr 2008 15:38:56 -0700 Subject: [PATCH] quartz: Silence requests for IVideoWindow. --- dlls/quartz/dsoundrender.c | 2 +- dlls/quartz/filesource.c | 2 +- dlls/quartz/nullrenderer.c | 2 +- dlls/quartz/parser.c | 2 +- dlls/quartz/transform.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 529f836323b..a199e5f65ad 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -372,7 +372,7 @@ static HRESULT WINAPI DSoundRender_QueryInterface(IBaseFilter * iface, REFIID ri return S_OK; } - if (!IsEqualIID(riid, &IID_IPin)) + if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IVideoWindow)) FIXME("No interface for %s!\n", qzdebugstr_guid(riid)); return E_NOINTERFACE; diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c index b2d6838a109..2bb5fa7e7a8 100644 --- a/dlls/quartz/filesource.c +++ b/dlls/quartz/filesource.c @@ -394,7 +394,7 @@ static HRESULT WINAPI AsyncReader_QueryInterface(IBaseFilter * iface, REFIID rii return S_OK; } - if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IMediaSeeking)) + if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IMediaSeeking) && !IsEqualIID(riid, &IID_IVideoWindow)) FIXME("No interface for %s!\n", qzdebugstr_guid(riid)); return E_NOINTERFACE; diff --git a/dlls/quartz/nullrenderer.c b/dlls/quartz/nullrenderer.c index 191771b8c40..d871e679db7 100644 --- a/dlls/quartz/nullrenderer.c +++ b/dlls/quartz/nullrenderer.c @@ -249,7 +249,7 @@ static HRESULT WINAPI NullRendererInner_QueryInterface(IUnknown * iface, REFIID return S_OK; } - if (!IsEqualIID(riid, &IID_IPin)) + if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IVideoWindow)) FIXME("No interface for %s!\n", qzdebugstr_guid(riid)); return E_NOINTERFACE; diff --git a/dlls/quartz/parser.c b/dlls/quartz/parser.c index a369de2ea0e..37cf8eebb47 100644 --- a/dlls/quartz/parser.c +++ b/dlls/quartz/parser.c @@ -132,7 +132,7 @@ static HRESULT WINAPI Parser_QueryInterface(IBaseFilter * iface, REFIID riid, LP return S_OK; } - if (!IsEqualIID(riid, &IID_IPin)) + if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IVideoWindow)) FIXME("No interface for %s!\n", qzdebugstr_guid(riid)); return E_NOINTERFACE; diff --git a/dlls/quartz/transform.c b/dlls/quartz/transform.c index dbb84a74dce..df5c746a481 100644 --- a/dlls/quartz/transform.c +++ b/dlls/quartz/transform.c @@ -248,7 +248,7 @@ static HRESULT WINAPI TransformFilter_QueryInterface(IBaseFilter * iface, REFIID return S_OK; } - if (!IsEqualIID(riid, &IID_IPin)) + if (!IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IVideoWindow)) FIXME("No interface for %s!\n", qzdebugstr_guid(riid)); return E_NOINTERFACE;