[vlc-commits] video_output: fix disabled log compilation

Steve Lhomme git at videolan.org
Fri Oct 13 00:53:26 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Sep 14 15:01:08 2017 +0200| [88643985d4d54c176ce22a6e7718051b1bf211d7] | committer: Jean-Baptiste Kempf

video_output: fix disabled log compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 10e1d87c26..12539768db 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1090,7 +1090,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



More information about the vlc-commits mailing list