From 87ce0c3b8d4e7b668412315774e7ded84c4f8ad7 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Tue, 13 Aug 2013 03:43:22 +0200 Subject: mpvcore/options: Update default user agent string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uh… about time, I guess? --- mpvcore/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpvcore/options.c b/mpvcore/options.c index a94b7628c9..df75a038ac 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -29,6 +29,7 @@ #include "mpvcore/options.h" #include "config.h" +#include "version.h" #include "mpvcore/m_config.h" #include "mpvcore/m_option.h" #include "stream/tv.h" @@ -43,7 +44,7 @@ int network_bandwidth=0; int network_cookies_enabled = 0; -char *network_useragent="MPlayer 1.1-4.7"; +char *network_useragent="mpv " VERSION; char *network_referrer=NULL; char **network_http_header_fields=NULL; -- cgit v1.2.3