diff options
author | Jacek Antonelli | 2009-02-28 00:01:34 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-02-28 00:01:34 -0600 |
commit | e909628ed3ec0e2cdb4e78767599fb72b222d542 (patch) | |
tree | 9ba36ff02023e79e76e7e709fb772981b52ffed9 /linden/indra/llmedia/llmediaimplgstreamer.cpp | |
parent | Get gstreamer reference from media manager. (diff) | |
download | meta-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.cpp | 2 |
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 | ||