summaryrefslogtreecommitdiffstats
path: root/stream/cache.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-30 22:24:25 +0100
committerwm4 <wm4@nowhere>2014-10-30 22:25:08 +0100
commit56b852710ad0b6b1466427549db0792ee67318aa (patch)
treeb411336c0162e6e8ba85a7c2bdba441d18987784 /stream/cache.c
parent8c3baffadbff167a75c34024374cd08dae4a9cdd (diff)
downloadmpv-56b852710ad0b6b1466427549db0792ee67318aa.tar.bz2
mpv-56b852710ad0b6b1466427549db0792ee67318aa.tar.xz
demux_playlist: redirect ASF streaming to mmsh://
I'm not sure if this could be done in libavformat instead. Probably not, because libavformat doesn't seem to have any mechanism for trying one protocol and reverting (or redirecting) to another one if needed. This commit is sort of a hack too, because it redirects the URL by pretending the http:// link is a playlist containing the mmsh:// link. The list of mime types is borrowed from MPlayer (which has completely different code to handle this).
Diffstat (limited to 'stream/cache.c')
0 files changed, 0 insertions, 0 deletions