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;