Zebediah Figura : quartz: Increase the initial streaming delay to 200 ms.

Alexandre Julliard julliard at winehq.org
Wed Jul 15 16:44:44 CDT 2020


Module: wine
Branch: master
Commit: 735c8272f5ad0ceeea726e902a3df17c9d3853c7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=735c8272f5ad0ceeea726e902a3df17c9d3853c7

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Jul 14 19:56:23 2020 -0500

quartz: Increase the initial streaming delay to 200 ms.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 17963c2b75..ff0f159c13 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)




More information about the wine-cvs mailing list