mirror of
https://github.com/mpv-player/mpv
synced 2025-02-01 20:52:05 +00:00
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->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) {
|
||||
|
Loading…
Reference in New Issue
Block a user