Maarten Lankhorst : quartz: Fix stub for GetVideoPaletteEntries.
Alexandre Julliard
julliard at winehq.org
Thu Nov 11 12:05:50 CST 2010
Module: wine
Branch: master
Commit: 06ca6fb184dd26a95726f9749c851b85beb4cf96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=06ca6fb184dd26a95726f9749c851b85beb4cf96
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Thu Nov 11 00:14:18 2010 +0100
quartz: Fix stub for GetVideoPaletteEntries.
---
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,
More information about the wine-cvs
mailing list