summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-21 14:18:35 +0100
committerwm4 <wm4@nowhere>2020-02-21 14:18:35 +0100
commit4c32468241fbc6b6a6837c4030532bd9363b7441 (patch)
tree37fd2b3f588cab527d2f8ff76c84600455860f92 /DOCS/man/options.rst
parenta77780e6be2760d2deeaef316516b943ea29f1bc (diff)
downloadmpv-4c32468241fbc6b6a6837c4030532bd9363b7441.tar.bz2
mpv-4c32468241fbc6b6a6837c4030532bd9363b7441.tar.xz
ytdl_hook: enable default selection via --ytdl-format with all_formats
In all_formats mode, we've ignored what --ytdl-format did so far, since we've converted the full format list, instead of just the formats selected by youtube-dl. But we can easily restore --ytdl-format behavior: just mark the selected tracks as default tracks.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index fb98a04def..c68df5951c 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -841,13 +841,16 @@ Program Behavior
If 'yes' will attempt to add all formats found reported by youtube-dl
(default: no). Each format is added as a separate track. In addition,
they are delay-loaded, and actually opened only when a track is selected
- (this should keep load times as low as without this option). It also
- adds average bitrate metadata, if available, which means
- ``--hls-bitrate`` will decide which track to select. (HLS used to be the
+ (this should keep load times as low as without this option).
+
+ It adds average bitrate metadata, if available, which means you can use
+ ``--hls-bitrate`` to decide which track to select. (HLS used to be the
only format whose alternative quality streams were exposed in a similar
way, thus the option name.)
- The ``--ytdl-format`` option is essentially ignored.
+ Tracks which represent formats that were selected by youtube-dl as
+ default will have the default flag set. This means mpv should generally
+ still select formats chosen with ``--ytdl-format`` by default.
Although this mechanism makes it possible to switch streams at runtime,
it's not suitable for this purpose for various technical reasons. (It's