mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vo: set correct frame parameters on redraw
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user