aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-03-29 22:21:34 -0700
committerMcCabe Maxsted2009-03-29 22:21:34 -0700
commit433abcb5274d62e5c5ef8c8a411db37d55b732f6 (patch)
treeb00461fd0ce532e34bb34d5ddc1ac93b03416ca8 /linden/indra/newview
parentFixed video streams freezing the viewer (diff)
parentFixed some minor mistakes in set_gst_plugin_path(). (diff)
downloadmeta-impy-433abcb5274d62e5c5ef8c8a411db37d55b732f6.zip
meta-impy-433abcb5274d62e5c5ef8c8a411db37d55b732f6.tar.gz
meta-impy-433abcb5274d62e5c5ef8c8a411db37d55b732f6.tar.bz2
meta-impy-433abcb5274d62e5c5ef8c8a411db37d55b732f6.tar.xz
Fixed merge conflicts
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llappviewer.cpp26
-rw-r--r--linden/indra/newview/llappviewer.h2
2 files changed, 0 insertions, 28 deletions
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<std::string> gLoginURIs;
320static std::string gHelperURI; 320static std::string gHelperURI;
321 321
322 322
323void LLAppViewer::gst_plugin_path()
324{
325#ifdef LL_WINDOWS
326 char* buffer;
327
328 // Get the current working directory:
329 if((buffer = _getcwd(NULL,0)) == NULL)
330 {
331 LL_INFOS("InitInfo") << "_getcwd error" << LL_ENDL;
332 }
333 else
334 {
335 LL_INFOS("InitInfo") << "Imprudence is installed at " << buffer << LL_ENDL;
336
337 std::string plugin_path = "GST_PLUGIN_PATH=" + std::string(buffer) + "\\lib\\gstreamer-plugins";
338
339 // Place GST_PLUGIN_PATH in the environment settings for imprudence.exe
340 const char* gst_plugin_path = plugin_path.c_str();
341 putenv(gst_plugin_path);
342 LL_INFOS("InitInfo") << "GST_PLUGIN_PATH set to " << getenv("GST_PLUGIN_PATH") << LL_ENDL;
343 }
344#endif //LL_WINDOWS
345}
346
347void idle_afk_check() 323void idle_afk_check()
348{ 324{
349 // check idle timers 325 // check idle timers
@@ -643,8 +619,6 @@ bool LLAppViewer::init()
643 LL_VERSION_PATCH, 619 LL_VERSION_PATCH,
644 LL_VERSION_BUILD ); 620 LL_VERSION_BUILD );
645 621
646 gst_plugin_path();
647
648 ////////////////////////////////////////////////////////////////////////////// 622 //////////////////////////////////////////////////////////////////////////////
649 ////////////////////////////////////////////////////////////////////////////// 623 //////////////////////////////////////////////////////////////////////////////
650 ////////////////////////////////////////////////////////////////////////////// 624 //////////////////////////////////////////////////////////////////////////////
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h
index 2083a93..58dc835 100644
--- a/linden/indra/newview/llappviewer.h
+++ b/linden/indra/newview/llappviewer.h
@@ -138,8 +138,6 @@ public:
138 138
139protected: 139protected:
140 140
141 void gst_plugin_path(); // Sets GST_PLUGIN_PATH environment variable for GStreamer.
142
143 virtual bool initWindow(); // Initialize the viewer's window. 141 virtual bool initWindow(); // Initialize the viewer's window.
144 virtual bool initLogging(); // Initialize log files, logging system, return false on failure. 142 virtual bool initLogging(); // Initialize log files, logging system, return false on failure.
145 virtual void initConsole() {}; // Initialize OS level debugging console. 143 virtual void initConsole() {}; // Initialize OS level debugging console.