summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-31 02:01:25 +0100
committerwm4 <wm4@nowhere>2013-01-31 02:01:25 +0100
commitd4246353df6470e24d870dab8532a905e853601e (patch)
tree7d0be5e335042ac2d623d679ffb74e42b311314a /stream/stream_lavf.c
parent6469322c5ac40730990763d13491b3ee822e7a06 (diff)
downloadmpv-d4246353df6470e24d870dab8532a905e853601e.tar.bz2
mpv-d4246353df6470e24d870dab8532a905e853601e.tar.xz
stream: set default HTTP user agent to "Mozilla/5.0"
Playing vimeo links using quvi support didn't work, even though clive could. clive is using quvi and curl to download videos from streaming sites, so if clive works mpv should always work as well. It didn't, and it turned out that it was due to the user agent. Change the default from whatever Lavf sends to what clive and cclive use. This will probably always work, as c(c)live are by the same author as libquvi, and there's a high chance it has been tested with all the supported sites.
Diffstat (limited to 'stream/stream_lavf.c')
0 files changed, 0 insertions, 0 deletions