aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaimplgstreamer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-02-28 00:01:34 -0600
committerJacek Antonelli2009-02-28 00:01:34 -0600
commite909628ed3ec0e2cdb4e78767599fb72b222d542 (patch)
tree9ba36ff02023e79e76e7e709fb772981b52ffed9 /linden/indra/llmedia/llmediaimplgstreamer.cpp
parentGet gstreamer reference from media manager. (diff)
downloadmeta-impy-e909628ed3ec0e2cdb4e78767599fb72b222d542.zip
meta-impy-e909628ed3ec0e2cdb4e78767599fb72b222d542.tar.gz
meta-impy-e909628ed3ec0e2cdb4e78767599fb72b222d542.tar.bz2
meta-impy-e909628ed3ec0e2cdb4e78767599fb72b222d542.tar.xz
Initialize gstreamer (if needed) when making LLMediaImplGStreamer.
Lets us find gstreamer version for "About Imprudence" before login.
Diffstat (limited to 'linden/indra/llmedia/llmediaimplgstreamer.cpp')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index af089bc..30706f1 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -75,6 +75,8 @@ LLMediaImplGStreamer () :
75 mVideoSink ( NULL ), 75 mVideoSink ( NULL ),
76 mState( GST_STATE_NULL ) 76 mState( GST_STATE_NULL )
77{ 77{
78 startup( NULL ); // Startup gstreamer if it hasn't been already.
79
78 LL_DEBUGS("MediaManager") << "constructing media..." << LL_ENDL; 80 LL_DEBUGS("MediaManager") << "constructing media..." << LL_ENDL;
79 mVolume = -1.0; // XXX Hack to make the vould change happend first time 81 mVolume = -1.0; // XXX Hack to make the vould change happend first time
80 82