1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-23 00:06:56 +00:00
mpv/video/out/cocoa
Stefano Pigozzi d1bdf9ea11 cocoa: move to a simpler threading model
Unfortunately using dispatch_sync for synchronization turned out to be really
bad for us. It caused a wide array of race conditions, deadlocks, etc.

Moving to a very simple mutex. It's not clear to me how to do liveresizing
with this, for now it just flickers with is unacceptable (maybe I'll draw
black instead).

This should fix all the threading cocoa bugs. Reopen if it's not the case!

Fixes #751
Fixes #1129
2014-10-04 11:47:17 +02:00
..
additions.h
additions.m cocoa_common: check if the screen has a menubar in a more generic way 2013-10-09 09:27:41 +02:00
mpvadapter.h cocoa: move to a simpler threading model 2014-10-04 11:47:17 +02:00
view.h cocoa: handle files drag and drop on the player video view 2014-01-04 17:29:53 +01:00
view.m cocoa: move to a simpler threading model 2014-10-04 11:47:17 +02:00
window.h cocoa: fix native fullscreen 2014-04-28 21:32:58 +02:00
window.m cocoa: macosx_application needs cocoa-application 2014-08-06 09:31:59 +02:00