summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 4595fa0d8a..60ee2ac8bd 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -351,6 +351,7 @@ void vo_new_frame_imminent(struct vo *vo)
assert(vo->num_video_queue > 0);
vo->driver->draw_image(vo, vo->video_queue[0]);
shift_queue(vo);
+ vo->hasframe = true;
}
void vo_draw_osd(struct vo *vo, struct osd_state *osd)
@@ -368,7 +369,6 @@ void vo_flip_page(struct vo *vo, int64_t pts_us, int duration)
vo->driver->flip_page_timed(vo, pts_us, duration);
else
vo->driver->flip_page(vo);
- vo->hasframe = true;
}
void vo_check_events(struct vo *vo)