From 6542894a75f826203cab1ae482fdf5187be09205 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 28 Mar 2009 18:53:52 -0500 Subject: Moved Windows GST_PLUGIN_PATH setup to LLMediaImplGStreamer. LLAppViewer::gst_plugin_path --> LLMediaImplGStreamer::set_gst_plugin_path --- linden/indra/newview/llappviewer.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'linden/indra/newview/llappviewer.cpp') diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 15ce1a3..6d87ca8 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp @@ -320,30 +320,6 @@ std::vector gLoginURIs; static std::string gHelperURI; -void LLAppViewer::gst_plugin_path() -{ -#ifdef LL_WINDOWS - char* buffer; - - // Get the current working directory: - if((buffer = _getcwd(NULL,0)) == NULL) - { - LL_INFOS("InitInfo") << "_getcwd error" << LL_ENDL; - } - else - { - LL_INFOS("InitInfo") << "Imprudence is installed at " << buffer << LL_ENDL; - - std::string plugin_path = "GST_PLUGIN_PATH=" + std::string(buffer) + "\\lib\\gstreamer-plugins"; - - // Place GST_PLUGIN_PATH in the environment settings for imprudence.exe - const char* gst_plugin_path = plugin_path.c_str(); - putenv(gst_plugin_path); - LL_INFOS("InitInfo") << "GST_PLUGIN_PATH set to " << getenv("GST_PLUGIN_PATH") << LL_ENDL; - } -#endif //LL_WINDOWS -} - void idle_afk_check() { // check idle timers @@ -643,8 +619,6 @@ bool LLAppViewer::init() LL_VERSION_PATCH, LL_VERSION_BUILD ); - gst_plugin_path(); - ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// -- cgit v1.1