diff options
author | McCabe Maxsted | 2009-02-18 07:07:31 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-18 07:07:31 -0700 |
commit | 1b7dec80a55365ebda061319a134cf87a1aaa61a (patch) | |
tree | 81291a0db8a8b8a7fe9a9fcb134fff66c8eebad1 /linden/indra/llmedia/llmediaimplgstreamer.cpp | |
parent | Added error checking to play/stop/pause to prevent bad looping (diff) | |
download | meta-impy-1b7dec80a55365ebda061319a134cf87a1aaa61a.zip meta-impy-1b7dec80a55365ebda061319a134cf87a1aaa61a.tar.gz meta-impy-1b7dec80a55365ebda061319a134cf87a1aaa61a.tar.bz2 meta-impy-1b7dec80a55365ebda061319a134cf87a1aaa61a.tar.xz |
Added GStreamer version info to About > Imprudence
Diffstat (limited to 'linden/indra/llmedia/llmediaimplgstreamer.cpp')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp index d821bcd..c7f2b4a 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer.cpp +++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp | |||
@@ -127,10 +127,12 @@ LLMediaImplGStreamer:: | |||
127 | // virtual | 127 | // virtual |
128 | std::string LLMediaImplGStreamer::getVersion() | 128 | std::string LLMediaImplGStreamer::getVersion() |
129 | { | 129 | { |
130 | std::string rtn; | 130 | guint major, minor, micro, nano; |
131 | rtn = "[" + sLLMediaImplGStreamerReg.getImplName() + "] - GStreamer 0.10.x"; | 131 | llgst_version(&major, &minor, µ, &nano); |
132 | return rtn; | 132 | std::string version = llformat("%d.%d.%d.%d",major,minor,micro,nano); |
133 | return version; | ||
133 | } | 134 | } |
135 | |||
134 | // | 136 | // |
135 | //THIS IS THE METHOD THAT'S BREAKING STUFF | 137 | //THIS IS THE METHOD THAT'S BREAKING STUFF |
136 | /////////////////////////////////////////////////////////////////////////////// | 138 | /////////////////////////////////////////////////////////////////////////////// |