summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-12-05 23:21:49 +0100
committerBastien Nocera <hadess@hadess.net>2011-12-05 23:21:49 +0100
commitd353aceb607bbbf81787bb958a27f3382fac67c5 (patch)
treebe6d763cd9adbdde8c73d9d77c836d9f173b154d
parent24a7fba5003ead0f3d2b3822dfa0fb53f6b7a99e (diff)
downloadtotem-d353aceb607bbbf81787bb958a27f3382fac67c5.tar.gz
browser-plugin: Use our own user-agent in Vegas
Rather than re-using the web browser agent. This fixes vimeo playback, as the server refuses to serve the usual browser UA.
-rw-r--r--browser-plugin/totemPlugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index c6087a386..93ecf58b4 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -167,6 +167,8 @@ static const char kPluginUserAgent[] =
"Quicktime/"TOTEM_NARROWSPACE_VERSION;
#elif defined(TOTEM_GMP_PLUGIN)
"Windows-Media-Player/10.00.00.4019";
+#elif defined(TOTEM_VEGAS_PLUGIN)
+ "Totem/"VERSION;
#else
"";
#endif