From 1b5b23b94849b18bedd458fd83741fa07d840c7b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Sep 2016 13:13:23 +0200 Subject: 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. --- libmpv/client.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libmpv') 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 -- cgit v1.2.3