From 31f2cd03d07cbf73264cd5538813e976d67ab3f4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Jul 2015 19:34:33 +0200 Subject: [PATCH] vo: set correct frame parameters on redraw --- video/out/vo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vo.c b/video/out/vo.c index 0df1c6d5c9..38bb739046 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -756,8 +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; + frame->pts = 0; + frame->duration = -1; pthread_mutex_unlock(&in->lock); if (vo->driver->draw_frame) {