From b5b27e4b129c8c3e63ba2a23b3f7864eb018b2ae Mon Sep 17 00:00:00 2001 From: Alexandre Janniaux Date: Fri, 15 Oct 2021 19:21:33 +0200 Subject: [PATCH] video_output: improve log message in case of drop --- src/video_output/video_output.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index 0f2dc487c6..25cde8a1b9 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -1755,7 +1755,10 @@ static int DisplayPicture(vout_thread_sys_t *vout, vlc_tick_t *deadline) return VLC_SUCCESS; if (new_next_pts < vsync_date) { - msg_Dbg(vout, "Dropping 2/2 because of vsync, offset to vsync is now %dms", MS_FROM_VLC_TICK(vsync_date - new_next_pts)); + msg_Dbg(vout, "Dropping 2/2 because of vsync, offset to vsync is now %dms / render_delay=%dms / next_pts=%dms vsync=%dms", MS_FROM_VLC_TICK(vsync_date - new_next_pts), + MS_FROM_VLC_TICK(render_delay), + MS_FROM_VLC_TICK(new_next_pts), + MS_FROM_VLC_TICK(vsync_date)); picture_Release(sys->displayed.current); sys->displayed.current = sys->displayed.next; sys->displayed.next = NULL;