[PATCH] quartz: Set the result to 1.0 in FilterGraph::GetRate.
Anton Baskanov
baskanov at gmail.com
Sat Feb 13 10:12:56 CST 2016
Signed-off-by: Anton Baskanov <baskanov at gmail.com>
Fixes infinite loop in GraphStudioNext.
---
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;
}
--
1.9.1
More information about the wine-patches
mailing list