Maarten Lankhorst : quartz: Fix return value of GetMediaTime.

Alexandre Julliard julliard at winehq.org
Mon Nov 8 11:46:21 CST 2010


Module: wine
Branch: master
Commit: 8af5c1b729ea56bf1053ce35c9b792a62fea95cd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8af5c1b729ea56bf1053ce35c9b792a62fea95cd

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Nov  7 15:02:45 2010 +0100

quartz: Fix return value of GetMediaTime.

---

 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)




More information about the wine-cvs mailing list