From 53845d81f5f8933b92a1d03bae91e94c5106334b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Jul 2015 13:03:58 +0200 Subject: [PATCH] vo: reset frame timing when redrawing bother vo_vdpau.c, which actually uses these times. --- video/out/vo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/vo.c b/video/out/vo.c index e03134c561..0df1c6d5c9 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -756,6 +756,8 @@ static void do_redraw(struct vo *vo) frame = &dummy; frame->redraw = !full_redraw; // unconditionally redraw if it was dropped frame->still = true; + frame->pts = -1; + frame->duration = 0; pthread_mutex_unlock(&in->lock); if (vo->driver->draw_frame) {