diff options
author | wm4 <wm4@nowhere> | 2020-02-20 14:51:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-20 14:54:09 +0100 |
commit | 89203cc994bb0f2009f8553f611da67486330cd2 (patch) | |
tree | 41efa0feb341758e2c9a406d7298d7b4a0858a3c /osdep | |
parent | c2e62817f610d5b73cc918d77603b23d9feef671 (diff) | |
download | mpv-89203cc994bb0f2009f8553f611da67486330cd2.tar.bz2 mpv-89203cc994bb0f2009f8553f611da67486330cd2.tar.xz |
ytdl_hook: attempt to filter out muxed streams if all_formats is used
See manpage additions. We would have to extend delay_open to support
multiple sub-tracks (for audio and video), and we'd still don't know (?)
whether it might contain more than one stream each (thinking of HLS
master streams). And if it's a true interleaved file (such as a "normal"
mp4 file provided as fallback for more primitive players), we'd either
have to signal such "bundled" tracks, or waste bandwidth.
This restructures a lot. The if/else tree in add_single_video for format
selection was a bit annoying, so it's split into separate if blocks,
where it checks each time whether a URL was determined yet.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions