path: root/DOCS
diff options
authorwm4 <wm4@nowhere>2018-01-11 23:36:07 +0100
committerKevin Mitchell <>2018-01-13 03:26:45 -0800
commit69d062ce373be7884bbde85e2b03f5c0f5789e05 (patch)
tree855bdeff7e61df66c608944c29487099b5d1f903 /DOCS
parent55993fde6df3fa38c47d2b08e6517053f4bc5ce4 (diff)
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.)
Diffstat (limited to 'DOCS')
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index c252a57f82..7960ea95ec 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -24,6 +24,7 @@ Interface changes
--ad-spdif-dtshd, --softvol options
- fix --external-files: strictly never select any tracks from them, unless
explicitly selected (this may or may not be expected)
+ - --ytdl is now always enabled, even for libmpv
--- mpv 0.28.0 ---
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
conventions followed by other hardware video decoding APIs
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.