[vlc-devel] [PATCH] video_output: fix disabled log compilation

Steve Lhomme robux4 at videolabs.io
Thu Sep 14 15:01:08 CEST 2017


---
 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 f246ffa190..aff670524d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1085,7 +1085,7 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
 
     /* Wait the real date (for rendering jitter) */
 #if 0
-    mtime_t delay = direct->date - mdate();
+    mtime_t delay = todisplay->date - mdate();
     if (delay < 1000)
         msg_Warn(vout, "picture is late (%lld ms)", delay / 1000);
 #endif
-- 
2.12.1



More information about the vlc-devel mailing list