diff options
author | wm4 <wm4@nowhere> | 2014-10-30 22:24:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-30 22:25:08 +0100 |
commit | 56b852710ad0b6b1466427549db0792ee67318aa (patch) | |
tree | b411336c0162e6e8ba85a7c2bdba441d18987784 /misc/json.h | |
parent | 8c3baffadbff167a75c34024374cd08dae4a9cdd (diff) | |
download | mpv-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 'misc/json.h')
0 files changed, 0 insertions, 0 deletions