From 0779047440604c5c5ecfd685803059b763a29325 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 28 Mar 2009 19:43:35 -0500 Subject: Fixed some minor mistakes in set_gst_plugin_path(). --- linden/indra/llmedia/llmediaimplgstreamer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linden') 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() else { LL_DEBUGS("LLMediaImpl") << "Imprudence is installed at " - << buffer << LL_ENDL; + << imp_cwd << LL_ENDL; // Grab the current path, if it's set. std::string old_plugin_path = ""; @@ -245,7 +245,7 @@ void LLMediaImplGStreamer::set_gst_plugin_path() std::string(imp_cwd) + "\\lib\\gstreamer-plugins"; // Place GST_PLUGIN_PATH in the environment settings for imprudence.exe - putenv( plugin_path.c_str() ); + putenv( (char*)plugin_path.c_str() ); LL_DEBUGS("LLMediaImpl") << "GST_PLUGIN_PATH set to " << getenv("GST_PLUGIN_PATH") << LL_ENDL; -- cgit v1.1