[PATCH 1/2] quartz: Fix stub for GetVideoPaletteEntries

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Nov 10 17:14:18 CST 2010


Since palettized playback probably isn't supported anyhow, just noop it
---
 dlls/quartz/videorenderer.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index bf0fa7b..5fbedaf 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -1413,9 +1413,11 @@ static HRESULT WINAPI Basicvideo_GetVideoPaletteEntries(IBasicVideo *iface,
                                                         LONG *pPalette) {
     ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
 
-    FIXME("(%p/%p)->(%d, %d, %p, %p): stub !!!\n", This, iface, StartIndex, Entries, pRetrieved, pPalette);
+    TRACE("(%p/%p)->(%d, %d, %p, %p)\n", This, iface, StartIndex, Entries, pRetrieved, pPalette);
 
-    return S_OK;
+    if (pRetrieved)
+        *pRetrieved = 0;
+    return VFW_E_NO_PALETTE_AVAILABLE;
 }
 
 static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
-- 
1.7.1




More information about the wine-patches mailing list