[PATCH 20/20] quartz: Actually use the start time in SendRun
Maarten Lankhorst
m.b.lankhorst at gmail.com
Fri Nov 5 08:26:13 CDT 2010
---
dlls/quartz/filtergraph.c | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 29e1c55..3394b56 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1829,22 +1829,7 @@ static HRESULT ExploreGraph(IFilterGraphImpl* pGraph, IPin* pOutputPin, fnFoundF
static HRESULT WINAPI SendRun(IBaseFilter *pFilter, DWORD_PTR data)
{
- LONGLONG time = 0;
- IReferenceClock *clock = NULL;
-
- IBaseFilter_GetSyncSource(pFilter, &clock);
- if (clock)
- {
- IReferenceClock_GetTime(clock, &time);
- if (time)
- /* Add 50 ms */
- time += 500000;
- if (time < 0)
- time = 0;
- IReferenceClock_Release(clock);
- }
-
- return IBaseFilter_Run(pFilter, time);
+ return IBaseFilter_Run(pFilter, This->start_time);
}
static HRESULT WINAPI SendPause(IBaseFilter *pFilter, DWORD_PTR data)
--
1.7.1
--------------050305020505070105040200--
More information about the wine-patches
mailing list