summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-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 988b03e38f..837542811d 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -177,7 +177,7 @@ struct vo_cocoa_state {
CGFloat accumulated_scroll;
- NSRecursiveLock *lock;
+ NSLock *lock;
bool enable_resize_redraw;
void (*resize_redraw)(struct vo *vo, int w, int h);
@@ -202,7 +202,7 @@ static struct vo_cocoa_state *vo_cocoa_init_state(struct vo *vo)
.vo_cursor_autohide_delay = vo->opts->cursor_autohide_delay,
.power_mgmt_assertion = kIOPMNullAssertionID,
.accumulated_scroll = 0,
- .lock = [[NSRecursiveLock alloc] init],
+ .lock = [[NSLock alloc] init],
.input_queue = vo_cocoa_input_queue_init(s),
.enable_resize_redraw = NO,
};