1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

vo: clear frame repeat flag when redrawing

This makes no sense, as the flag is supposed to be used for vsync
purposes only (when literally outputting the screen again with no
changes at all), and redrawing is often used for OSD updates.
This commit is contained in:
wm4 2016-11-01 13:08:25 +01:00
parent 17733bd5b8
commit 8dff51e06c

View File

@ -873,6 +873,7 @@ static void do_redraw(struct vo *vo)
if (!frame)
frame = &dummy;
frame->redraw = !full_redraw; // unconditionally redraw if it was dropped
frame->repeat = false;
frame->still = true;
frame->pts = 0;
frame->duration = -1;