diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 4 |
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; |