summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2016-05-09 18:40:01 -0700
committercallum_linden <none@none>2016-05-09 18:40:01 -0700
commit337ad8a76f9e2d7aa61cb3a423fe3629070fe123 (patch)
treeaa4e052fdf505b9c45604c447f4fca68f2219c73 /indra/newview/llappviewer.cpp
parentd15da192311bbef38b27a07cf27bbf4e33b99b0b (diff)
Add version info
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-xindra/newview/llappviewer.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 212627c0f7..7393f633ea 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -124,6 +124,7 @@
#include "llcoros.h"
#if !LL_LINUX
#include "cef/llceflib.h"
+#include "vlc/libvlc_version.h"
#endif
// Third party library includes
@@ -3346,8 +3347,18 @@ LLSD LLAppViewer::getViewerInfo() const
#if !LL_LINUX
info["LLCEFLIB_VERSION"] = LLCEFLIB_VERSION;
+
+ std::ostringstream s;
+ s << "LibVLC ";
+ s << LIBVLC_VERSION_MAJOR;
+ s << ".";
+ s << LIBVLC_VERSION_MINOR;
+ s << ".";
+ s << LIBVLC_VERSION_REVISION;
+ info["LIBVLC_VERSION"] = s.str();
#else
info["LLCEFLIB_VERSION"] = "Undefined";
+ info["LIBVLC_VERSION"] = "Undefined";
#endif
S32 packets_in = LLViewerStats::instance().getRecording().getSum(LLStatViewer::PACKETS_IN);