summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-28 14:53:55 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-28 15:08:26 +0200
commit73808cd8f0dd30e4cf361fc4bce20cb347e65172 (patch)
tree43a64dc2f6a5549bbd1f866067a98ce3be14f49d /video/out/cocoa_common.h
parent67d87d36d52baf5237f24c4bf5d83426362f25b0 (diff)
downloadmpv-73808cd8f0dd30e4cf361fc4bce20cb347e65172.tar.bz2
mpv-73808cd8f0dd30e4cf361fc4bce20cb347e65172.tar.xz
cocoa_common: fix deadlock
After rebasing my dev branch it turned out that the code deadlocked on recursive calls of `vo_control`. Make the locking code a little bit smarter by making always skip locking/unlocking if we are executing a chunck of code that is already synchronized with `dispatch_sync`.
Diffstat (limited to 'video/out/cocoa_common.h')
0 files changed, 0 insertions, 0 deletions