From 69d062ce373be7884bbde85e2b03f5c0f5789e05 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 Jan 2018 23:36:07 +0100 Subject: client API: remove ytdl=no default With the recent changes to the script it does not incur a startup delay by default due to starting youtube-dl and waiting for it. This was the main reason for making libmpv have a different default. Starting sub processes from a library can still be a bit fishy, but I think it's ok. Still mention it in the libmpv header. There were already other cases where libmpv would start its own processes, such as the X11 backend calling xdg-screensaver. (The reason why this is fishy is because UNIX process management sucks: SIGCHLD and the wait() syscall make sub processes non-transparent and could potentially introduce conflicts with code trying to use them.) --- DOCS/man/options.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index b6813494a6..2f7baf92ff 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -547,8 +547,7 @@ Program Behavior Enable the youtube-dl hook-script. It will look at the input URL, and will play the video located on the website. This works with many streaming sites, not just the one that the script is named after. This requires a recent - version of youtube-dl to be installed on the system. (Enabled by default, - except when the client API / libmpv is used.) + version of youtube-dl to be installed on the system. (Enabled by default.) If the script can't do anything with an URL, it will do nothing. -- cgit v1.2.3