aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-11-01 13:08:25 +0100
committerGravatar wm4 <wm4@nowhere>2016-11-01 16:25:40 +0100
commit8dff51e06c7474baf0870f5f1345fdef2149f72f (patch)
treecd1ece445a994553090d3822e123dd81636204c2 /video/out/vo.c
parent17733bd5b84a7bb8caf497aa9ea35efd657e967a (diff)
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.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 46908d2d59..296be634ad 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -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;