From e909628ed3ec0e2cdb4e78767599fb72b222d542 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 28 Feb 2009 00:01:34 -0600 Subject: Initialize gstreamer (if needed) when making LLMediaImplGStreamer. Lets us find gstreamer version for "About Imprudence" before login. --- linden/indra/llmedia/llmediaimplgstreamer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linden/indra/llmedia/llmediaimplgstreamer.cpp') 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 () : mVideoSink ( NULL ), mState( GST_STATE_NULL ) { + startup( NULL ); // Startup gstreamer if it hasn't been already. + LL_DEBUGS("MediaManager") << "constructing media..." << LL_ENDL; mVolume = -1.0; // XXX Hack to make the vould change happend first time -- cgit v1.1