aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2009-03-28 19:43:35 -0500
committerJacek Antonelli2009-03-28 19:43:35 -0500
commit0779047440604c5c5ecfd685803059b763a29325 (patch)
treeda9227c28cc5e9aa7b3666b6d40e327900789fe3
parentImproved set_gst_plugin_path, more comprehensive path. (diff)
downloadmeta-impy-0779047440604c5c5ecfd685803059b763a29325.zip
meta-impy-0779047440604c5c5ecfd685803059b763a29325.tar.gz
meta-impy-0779047440604c5c5ecfd685803059b763a29325.tar.bz2
meta-impy-0779047440604c5c5ecfd685803059b763a29325.tar.xz
Fixed some minor mistakes in set_gst_plugin_path().
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 0cc1e8f..9a51b7f 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -220,7 +220,7 @@ void LLMediaImplGStreamer::set_gst_plugin_path()
220 else 220 else
221 { 221 {
222 LL_DEBUGS("LLMediaImpl") << "Imprudence is installed at " 222 LL_DEBUGS("LLMediaImpl") << "Imprudence is installed at "
223 << buffer << LL_ENDL; 223 << imp_cwd << LL_ENDL;
224 224
225 // Grab the current path, if it's set. 225 // Grab the current path, if it's set.
226 std::string old_plugin_path = ""; 226 std::string old_plugin_path = "";
@@ -245,7 +245,7 @@ void LLMediaImplGStreamer::set_gst_plugin_path()
245 std::string(imp_cwd) + "\\lib\\gstreamer-plugins"; 245 std::string(imp_cwd) + "\\lib\\gstreamer-plugins";
246 246
247 // Place GST_PLUGIN_PATH in the environment settings for imprudence.exe 247 // Place GST_PLUGIN_PATH in the environment settings for imprudence.exe
248 putenv( plugin_path.c_str() ); 248 putenv( (char*)plugin_path.c_str() );
249 249
250 LL_DEBUGS("LLMediaImpl") << "GST_PLUGIN_PATH set to " 250 LL_DEBUGS("LLMediaImpl") << "GST_PLUGIN_PATH set to "
251 << getenv("GST_PLUGIN_PATH") << LL_ENDL; 251 << getenv("GST_PLUGIN_PATH") << LL_ENDL;