[PATCH 01/10] quartz: Fix return value of GetMediaTime

Maarten Lankhorst m.b.lankhorst at gmail.com
Sun Nov 7 08:02:45 CST 2010


---
 dlls/quartz/memallocator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c
index c0be482..3e79a12 100644
--- a/dlls/quartz/memallocator.c
+++ b/dlls/quartz/memallocator.c
@@ -703,7 +703,7 @@ static HRESULT WINAPI StdMediaSample2_GetMediaTime(IMediaSample2 * iface, LONGLO
     *pStart = This->tMediaStart;
     *pEnd = This->tMediaEnd;
 
-    return E_NOTIMPL;
+    return S_OK;
 }
 
 static HRESULT WINAPI StdMediaSample2_SetMediaTime(IMediaSample2 * iface, LONGLONG * pStart, LONGLONG * pEnd)
-- 
1.7.1




More information about the wine-patches mailing list