vlc | branch: master | Steve Lhomme <[email protected]> | Sat May  5 09:55:33 
2018 +0200| [d1ee04840b64e7ae8451a14898c22d1e7c625e03] | committer: Rémi 
Denis-Courmont

es_out: turn the hardcoded wakeup delay into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1ee04840b64e7ae8451a14898c22d1e7c625e03
---

 src/input/es_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 0a5ffed3d8..88168538a3 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -709,7 +709,7 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool 
b_forced )
     input_resource_TerminateVout( input_priv(p_sys->p_input)->p_resource );
 
     /* */
-    const mtime_t i_wakeup_delay = 10*1000; /* FIXME CLEANUP thread wake up 
time*/
+    const mtime_t i_wakeup_delay = CLOCK_FREQ/100; /* FIXME CLEANUP thread 
wake up time*/
     const mtime_t i_current_date = p_sys->b_paused ? p_sys->i_pause_date : 
mdate();
 
     input_clock_ChangeSystemOrigin( p_sys->p_pgrm->p_input_clock, true,

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to