[PATCH 5/8] quartz: Increase the initial streaming delay to 200 ms.

Zebediah Figura z.figura12 at gmail.com
Tue Jul 14 19:56:23 CDT 2020


This matches native, and gstreamer can be slow enough to start up that a bit of
extra time would be useful.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/filtergraph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 17963c2b757..ff0f159c131 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -4903,7 +4903,7 @@ static HRESULT WINAPI MediaFilter_Run(IMediaFilter *iface, REFERENCE_TIME start)
         IReferenceClock_GetTime(graph->refClock, &graph->stream_start);
         stream_start = graph->stream_start - graph->stream_elapsed;
         if (graph->state == State_Stopped)
-            stream_start += 500000;
+            stream_start += 200 * 10000;
     }
 
     LIST_FOR_EACH_ENTRY(filter, &graph->filters, struct filter, entry)
-- 
2.27.0




More information about the wine-devel mailing list