1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-30 15:29:56 +00:00
mpv/osdep
wm4 4858c47e1c Always block SIGPIPE globally
OpenSSL and GnuTLS are still causing this problem (although FFmpeg could
be blamed as well - but not really). In particular, it was happening to
libmpv users and in cases the pseudo-gui profile is used. This was
because all signal handling is in the terminal code, so if terminal is
disabled, it won't be set. This was obviously a questionable shortcut.

Avoid further problems by always blocking the signal. This is done even
for libmpv, despite our policy of not messing with global state.

Explicitly document this in the libmpv docs. It turns out that a version
bump to 1.17 was forgotten for the addition of MPV_FORMAT_BYTE_ARRAY, so
document that change as part of 1.16.
2015-05-11 17:38:35 +02:00
..
ar Kill all tabs 2014-04-13 18:03:01 +02:00
win32 win32: add native wrappers for pthread functions 2015-01-01 15:10:42 +01:00
atomics.h msg: use relaxed atomics for log level test 2015-03-02 19:09:31 +01:00
compiler.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
endian.h audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
glob-win.c glob-win: support Unicode 2014-04-21 02:57:16 +02:00
io.c Update license headers 2015-04-13 12:10:01 +02:00
io.h Update license headers 2015-04-13 12:10:01 +02:00
macosx_application_objc.h cocoa: always compile OSX application code with cocoa 2015-05-02 18:09:56 +02:00
macosx_application.h build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
macosx_application.m build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
macosx_compat.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
macosx_events_objc.h cocoa: move handleFilesArray: to macosx_events 2014-08-06 09:31:58 +02:00
macosx_events.h Update license headers 2015-04-13 12:10:01 +02:00
macosx_events.m cocoa: silence -Wlogical-op-parentheses 2015-03-04 10:21:36 +01:00
macosx_versions.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
main-fn-cocoa.c build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
main-fn-unix.c build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
main-fn-win.c win32: move platform specifics to osdep 2015-05-02 18:59:58 +02:00
main-fn.h build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
mpv.exe.manifest win32: fix/change application name 2015-02-09 20:44:09 +01:00
mpv.rc Update license headers 2015-04-13 12:10:01 +02:00
path-macosx.m path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
path-unix.c path: add resolving desktop path to platform-specific paths 2015-05-01 21:51:10 +02:00
path-win.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
path.h path: update path descriptions 2015-05-02 16:14:51 +02:00
semaphore_osx.c osdep/semaphore_osx.c: Include osdep/semaphore.h before #ifdef 2014-09-10 17:22:20 +09:00
semaphore.h osdep: hack to fix build with low quality pthreads-w32 headers 2014-09-20 04:18:40 +02:00
subprocess-posix.c build: exclude -Wredundant-decls 2015-05-09 19:59:52 +02:00
subprocess-win.c subprocess-win: use the correct pipe namespace 2015-05-04 09:24:53 +02:00
subprocess.c subprocess: move implementation for deatched subprocesses 2015-04-15 22:43:02 +02:00
subprocess.h subprocess: move implementation for deatched subprocesses 2015-04-15 22:43:02 +02:00
terminal-unix.c Always block SIGPIPE globally 2015-05-11 17:38:35 +02:00
terminal-win.c Update license headers 2015-04-13 12:10:01 +02:00
terminal.h Update license headers 2015-04-13 12:10:01 +02:00
threads.c osdep: potentially fix compilation on OpenBSD 2014-10-31 19:44:42 +01:00
threads.h Set thread name for debugging 2014-10-19 23:48:40 +02:00
timer-darwin.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
timer-linux.c Update license headers 2015-04-13 12:10:01 +02:00
timer-win2.c Update license headers 2015-04-13 12:10:01 +02:00
timer.c timer: add "static" to a variable 2015-05-01 21:51:10 +02:00
timer.h Update license headers 2015-04-13 12:10:01 +02:00
w32_keyboard.c w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
w32_keyboard.h w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
win32-console-wrapper.c win32: only attach to the console from mpv.com 2015-04-11 14:34:33 +10:00