mirror of
https://github.com/mpv-player/mpv
synced 2024-11-07 01:47:00 +01:00
vo: reset frame timing when redrawing
bother vo_vdpau.c, which actually uses these times.
This commit is contained in:
parent
dc2b6ab6b7
commit
53845d81f5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user