vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Mon Jun 15 19:35:08 2015 +0200| [cc07bce0d25c0defcd5576005515df3b0a7531bb] | committer: David Fuhrmann
darwinvlc/macosx: rework binary, start main loop in darwinvlc This moves the main loop out of the macosx interface module. Instead, the open callback only initializes the interface and the close callback cleans up stuff. The mainloop is now started in darwinvlc.m. In case the mac interface is not used, a CoreFoundation mainloop is solely started to wait for termination events. Additionally, this cleans up darwinvlc.m, and fixes signal handling, which was dead code so far (in case the interface was used). Now, GCD is used to catch SIGINT and SIGTERM in order to allow ordinary shutdown. refs #14362 close #6354 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc07bce0d25c0defcd5576005515df3b0a7531bb --- bin/Makefile.am | 2 +- bin/darwinvlc.m | 218 ++++++++++++++++++++++++------------------- modules/gui/macosx/intf.m | 74 ++++++--------- modules/gui/macosx/macosx.m | 2 +- 4 files changed, 151 insertions(+), 145 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=cc07bce0d25c0defcd5576005515df3b0a7531bb _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits