diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:46:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:17 +0100 |
commit | 455214acef7d4601dec5ca097f3c644313401d68 (patch) | |
tree | 679c2887eb33871649150a95c7736b47636db90d /osdep | |
parent | 1a0e83e70878fdbd34e0a90d688ec709eb641dc4 (diff) | |
download | mpv-455214acef7d4601dec5ca097f3c644313401d68.tar.bz2 mpv-455214acef7d4601dec5ca097f3c644313401d68.tar.xz |
macosx_application: replace mp_msg with stderr for semi-fatal error
Apparently this should never be run anyway.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/macosx_application.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index ba801f412a..1ae1752bf1 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -16,6 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <stdio.h> #include <pthread.h> #include "talloc.h" @@ -336,9 +337,9 @@ int cocoa_main(mpv_main_fn mpv_main, int argc, char *argv[]) // This should never be reached: cocoa_run_runloop blocks until the // process is quit - mp_msg(MSGT_CPLAYER, MSGL_ERR, "There was either a problem " - "initializing Cocoa or the Runloop was stopped unexpectedly. " - "Please report this issues to a developer.\n"); + fprintf(stderr, "There was either a problem " + "initializing Cocoa or the Runloop was stopped unexpectedly. " + "Please report this issues to a developer.\n"); pthread_join(playback_thread_id, NULL); return 1; } |