mirror of https://github.com/mpv-player/mpv
vo: set correct frame parameters on redraw
This commit is contained in:
parent
fc79fd0474
commit
31f2cd03d0
|
@ -756,8 +756,8 @@ static void do_redraw(struct vo *vo)
|
||||||
frame = &dummy;
|
frame = &dummy;
|
||||||
frame->redraw = !full_redraw; // unconditionally redraw if it was dropped
|
frame->redraw = !full_redraw; // unconditionally redraw if it was dropped
|
||||||
frame->still = true;
|
frame->still = true;
|
||||||
frame->pts = -1;
|
frame->pts = 0;
|
||||||
frame->duration = 0;
|
frame->duration = -1;
|
||||||
pthread_mutex_unlock(&in->lock);
|
pthread_mutex_unlock(&in->lock);
|
||||||
|
|
||||||
if (vo->driver->draw_frame) {
|
if (vo->driver->draw_frame) {
|
||||||
|
|
Loading…
Reference in New Issue