Anton Baskanov : quartz: Set the result to 1.0 in FilterGraph::GetRate.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 15 09:41:50 CST 2016


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

Author: Anton Baskanov <baskanov at gmail.com>
Date:   Sat Feb 13 22:12:56 2016 +0600

quartz: Set the result to 1.0 in FilterGraph::GetRate.

Signed-off-by: Anton Baskanov <baskanov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/filtergraph.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 5cb670e..39fa783 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -2632,6 +2632,11 @@ static HRESULT WINAPI MediaSeeking_GetRate(IMediaSeeking *iface, double *pdRate)
 
     FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pdRate);
 
+    if (!pdRate)
+        return E_POINTER;
+
+    *pdRate = 1.0;
+
     return S_OK;
 }
 




More information about the wine-cvs mailing list