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.
This commit is contained in:
wm4 2013-01-31 02:01:25 +01:00
parent 6469322c5a
commit d4246353df
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ char *network_username=NULL;
char *network_password=NULL;
int network_bandwidth=0;
int network_cookies_enabled = 0;
char *network_useragent=NULL;
char *network_useragent="Mozilla/5.0";
char *network_referrer=NULL;
char **network_http_header_fields=NULL;