summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-01-05 14:34:31 +0100
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commitd23336089c905c0ab2efa6c36f70b50e1694a420 (patch)
tree9a3f5f0448597afaede502e791d3f96d39619358 /stream
parent80d2016075083c0183d83dacc25627fd4cc3a1de (diff)
downloadmpv-d23336089c905c0ab2efa6c36f70b50e1694a420.tar.bz2
mpv-d23336089c905c0ab2efa6c36f70b50e1694a420.tar.xz
ytdl_hook: fix pseudo-DASH if no init fragment is present
Init fragments are not a necessity for DASH, but this code assumed so. Maybe the check was to prevent worse. But using normal EDL here leads to very shitty behavior where it tries to open hundreds or thousands of fragments, each with its own demuxer and HTTP connection. (This behavior is fine for normal uses of EDLs, but completely unacceptable when emulating fragmented streaming protocols. I'm not sure why the normal EDL code is needed here, but I think someone claimed some obscure sites just need it.) This happens in the same situation as the one described in the previous commit.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions