summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 33e63fc198..d34dc59964 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -501,8 +501,8 @@ static void draw_changes_after_next_frame(struct vo *vo)
void vo_cocoa_swap_buffers(struct vo *vo)
{
struct vo_cocoa_state *s = vo->cocoa;
- if (s->skip_swap_buffer) {
- vo->want_redraw = true;
+
+ if (s->skip_swap_buffer && !s->waiting_frame) {
s->skip_swap_buffer = false;
return;
} else {