summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2013-08-13 03:43:22 +0200
committerMartin Herkt <lachs0r@srsfckn.biz>2013-08-13 03:43:22 +0200
commit87ce0c3b8d4e7b668412315774e7ded84c4f8ad7 (patch)
tree35124db51216df57284e68eb980bcf7356bdc473
parentd5f1b1638c1322991f7a81bd049f40aaf074bc83 (diff)
downloadmpv-87ce0c3b8d4e7b668412315774e7ded84c4f8ad7.tar.bz2
mpv-87ce0c3b8d4e7b668412315774e7ded84c4f8ad7.tar.xz
mpvcore/options: Update default user agent string
Uh… about time, I guess?
-rw-r--r--mpvcore/options.c3
1 files changed, 2 insertions, 1 deletions
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;