diff options
author | wm4 <wm4@nowhere> | 2015-02-13 10:47:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-13 10:47:07 +0100 |
commit | 9e14042e575435e94da660823d14aa6a6b6cb668 (patch) | |
tree | c5025bba480078d270c3bb55a91e964a7a5a7de3 /video/out/vo.c | |
parent | 96547a810e87d06121704ed67e3cf44430752c67 (diff) | |
download | mpv-9e14042e575435e94da660823d14aa6a6b6cb668.tar.bz2 mpv-9e14042e575435e94da660823d14aa6a6b6cb668.tar.xz |
cocoa: fix exiting the command line player
Commit e920a00eb assumed that terminate_cocoa_application() actually
would exit. But apparently that is not always the case; e.g. mpv --help
will just hang. The old code had a dummy exit(0), which was apparently
actually called. Fix by explicitly exiting if mpv_main() returns and
terminate_cocoa_application() does nothing.
Diffstat (limited to 'video/out/vo.c')
0 files changed, 0 insertions, 0 deletions