vo: set correct frame parameters on redraw

This commit is contained in:
wm4 2015-07-03 19:34:33 +02:00
parent fc79fd0474
commit 31f2cd03d0
1 changed files with 2 additions and 2 deletions

View File

@ -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) {