vlc | branch: master | Thomas Guillem <[email protected]> | Thu Sep  5 11:38:54 
2019 +0200| [ea89a38e4f080dbdcf2c82d2599a62b77138cf0a] | committer: Thomas 
Guillem

vout: use the previous system time

system_now was already set just before.

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 87e07dbadd..aac3e45071 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1233,7 +1233,7 @@ static int ThreadDisplayPicture(vout_thread_t *vout, 
vlc_tick_t *deadline)
     vlc_tick_t date_refresh = VLC_TICK_INVALID;
     if (sys->displayed.date != VLC_TICK_INVALID) {
         date_refresh = sys->displayed.date + VOUT_REDISPLAY_DELAY - 
render_delay;
-        refresh = date_refresh <= vlc_tick_now();
+        refresh = date_refresh <= system_now;
     }
     bool force_refresh = !drop_next_frame && refresh;
 

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

Reply via email to