summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-15 13:13:23 +0200
committerwm4 <wm4@nowhere>2016-09-15 13:13:23 +0200
commit1b5b23b94849b18bedd458fd83741fa07d840c7b (patch)
tree0c4f82a780d4b22d57451849e6b25e97e693d474 /libmpv
parentf1436658647aceb7ea58e595439fa6dd5c2cdb97 (diff)
downloadmpv-1b5b23b94849b18bedd458fd83741fa07d840c7b.tar.bz2
mpv-1b5b23b94849b18bedd458fd83741fa07d840c7b.tar.xz
client API: remove SIGPIPE overriding code
This workaround prevented that libmpv users could accidentally crash when the SIGPIPE signal was triggered by FFmpeg's OpenSSL/GnuTLS usage. But it also modifies the global signal handler state, so remove it now that this workaround is not required anymore.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index b270a6079e..74b5d66ed8 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -135,10 +135,6 @@ extern "C" {
* (used through libass), ALSA, FFmpeg, and possibly more.
* - The FPU precision must be set at least to double precision.
* - On Windows, mpv will call timeBeginPeriod(1).
- * - On UNIX, every mpv_initialize() call will block SIGPIPE. This is done
- * because FFmpeg makes unsafe use of OpenSSL and GnuTLS, which can raise
- * this signal under certain circumstances. Once these libraries (or FFmpeg)
- * are fixed, libmpv will not block the signal anymore.
* - On memory exhaustion, mpv will kill the process.
*
* Encoding of filenames