diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2022-07-10 23:59:30 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-08-14 23:31:51 +0000 |
commit | 1ef53f094b4362afdfd54770a59b6d3da3551ee5 (patch) | |
tree | 97b474551ff123eb471171b147d2dee4d986f1cd /filters | |
parent | f0011552e7bd0d7ecaac02069781ef23973d411e (diff) | |
download | mpv-1ef53f094b4362afdfd54770a59b6d3da3551ee5.tar.bz2 mpv-1ef53f094b4362afdfd54770a59b6d3da3551ee5.tar.xz |
ytdl_hook: consistant behavior for single format
One would expect that e.g.
`--script-opts=ytdl_hook-all_formats=no --ytdl-format=bestaudio` and
`--script-opts=ytdl_hook-all_formats=yes --ytdl-format=bestaudio`
to play the exact same tracks without manual intervention.
This already worked when two formats were requested.
For a single format with `all_formats=yes` it would also play a track
that was not requested when available. This was inconsistant with the
behavior of `all_formats=no` (default), which would not play a second
track when only a single one was requested.
This combined with #10395 now plays the exact same tracks with
`all_formats=yes` as without, even when only one format is requested.
Diffstat (limited to 'filters')
0 files changed, 0 insertions, 0 deletions