diff options
author | wm4 <wm4@nowhere> | 2015-02-12 18:20:29 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-02-16 18:08:52 +0900 |
commit | 94123474a4b665bb7cc7b686703a30069daadf77 (patch) | |
tree | 93074dfacd03a1dd60a3aca2b22cb02f31115b61 /osdep | |
parent | 50a7aac4d796a6fdcc73a502616601ecf3da3425 (diff) | |
download | mpv-94123474a4b665bb7cc7b686703a30069daadf77.tar.bz2 mpv-94123474a4b665bb7cc7b686703a30069daadf77.tar.xz |
osx: move cocoa specific call out of common code
This is almost equivalent, and gets rid of the ifdef.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/macosx_application.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index fa5058fd1d..008622f3ea 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -274,6 +274,8 @@ static void *playback_thread(void *ctx_obj) @autoreleasepool { struct playback_thread_ctx *ctx = (struct playback_thread_ctx*) ctx_obj; ctx->mpv_main(*ctx->argc, *ctx->argv); + terminate_cocoa_application(); + // normally never reached cocoa_stop_runloop(); pthread_exit(NULL); } |