Module: wine Branch: stable Commit: daf5fae80aefc8f24bfc1670bdec7ff02f16b6d5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=daf5fae80aefc8f24bfc1670bd...
Author: Anton Baskanov baskanov@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@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit f253e6cf9395c5895920ea4f09bd0994d253483e) Signed-off-by: Michael Stefaniuc mstefani@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 495f4be..028a31e 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -2610,6 +2610,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; }