]> git.sesse.net Git - vlc/commitdiff
Used the right picture to get the date we have to wait on.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 9 Jul 2010 23:21:38 +0000 (01:21 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 11 Jul 2010 17:56:21 +0000 (19:56 +0200)
No functional changes.

src/video_output/video_output.c

index d043b7f723fb16a2bc900b63983a1fa2dc52f430..35f422884ad2dcb4a42098aa2eead8b895ecc18e 100644 (file)
@@ -736,7 +736,7 @@ static int ThreadDisplayPicture(vout_thread_t *vout,
 
         /* Wait the real date (for rendering jitter) */
         if (!is_forced)
-            mwait(decoded->date);
+            mwait(direct->date);
 
         /* Display the direct buffer returned by vout_RenderPicture */
         vout->p->displayed.date = mdate();