diff options
author | Jacek Antonelli | 2009-03-29 22:28:41 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-03-29 22:28:41 -0500 |
commit | b1412201b6e44c1a304acd70d9104d3a2034da52 (patch) | |
tree | ccf7f34d58cd06b5696fce329e3088091e50f4bd | |
parent | Improved set_gst_plugin_path, now sets path on Mac too. (diff) | |
download | meta-impy-b1412201b6e44c1a304acd70d9104d3a2034da52.zip meta-impy-b1412201b6e44c1a304acd70d9104d3a2034da52.tar.gz meta-impy-b1412201b6e44c1a304acd70d9104d3a2034da52.tar.bz2 meta-impy-b1412201b6e44c1a304acd70d9104d3a2034da52.tar.xz |
set_gst_plugin_path now sets GST_PLUGIN_SYSTEM_PATH="".
This prevents GStreamer from looking for system-installed plugins,
which can have conflicts with our packaged ones.
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 0bdc570..d4cf20d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,6 +1,12 @@ | |||
1 | 2009-03-29 Jacek Antonelli <jacek.antonelli@gmail.com> | 1 | 2009-03-29 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 2 | ||
3 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: | 3 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: |
4 | set_gst_plugin_path now sets GST_PLUGIN_SYSTEM_PATH="". | ||
5 | This prevents GStreamer from looking for system-installed plugins, | ||
6 | which can have conflicts with our packaged ones. | ||
7 | |||
8 | |||
9 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: | ||
4 | Improved set_gst_plugin_path, now sets path on Mac too. | 10 | Improved set_gst_plugin_path, now sets path on Mac too. |
5 | 11 | ||
6 | 12 | ||
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp index 20b89f5..270b08b 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer.cpp +++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp | |||
@@ -282,6 +282,9 @@ void LLMediaImplGStreamer::set_gst_plugin_path() | |||
282 | LL_DEBUGS("MediaImpl") << "GST_PLUGIN_PATH set to " | 282 | LL_DEBUGS("MediaImpl") << "GST_PLUGIN_PATH set to " |
283 | << getenv("GST_PLUGIN_PATH") << LL_ENDL; | 283 | << getenv("GST_PLUGIN_PATH") << LL_ENDL; |
284 | 284 | ||
285 | // Disable loading system plugins. We only want to use ours, to avoid conflicts. | ||
286 | putenv( "GST_PLUGIN_SYSTEM_PATH=\"\"" ); | ||
287 | |||
285 | #endif // LL_WINDOWS || LL_DARWIN | 288 | #endif // LL_WINDOWS || LL_DARWIN |
286 | } | 289 | } |
287 | 290 | ||