aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog.txt4
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp23
2 files changed, 19 insertions, 8 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 577ce48..c3878ab 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,9 @@
12009-03-08 Jacek Antonelli <jacek.antonelli@gmail.com> 12009-03-08 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * linden/indra/llmedia/llmediaimplgstreamer.cpp:
4 Load the proper gstreamer lib type (dylib) on Mac.
5
6
3 * linden/indra/cmake/GStreamer.cmake: 7 * linden/indra/cmake/GStreamer.cmake:
4 Tweaked GStreamer.cmake to work on Mac. 8 Tweaked GStreamer.cmake to work on Mac.
5 9
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 30706f1..cd6c91b 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -166,19 +166,26 @@ bool LLMediaImplGStreamer::startup (LLMediaManagerData* init_data)
166 g_type_init(); 166 g_type_init();
167 167
168 // Get symbols! 168 // Get symbols!
169 if (
169#if LL_WINDOWS 170#if LL_WINDOWS
170 if (! grab_gst_syms("libgstreamer-0.10.dll", "libgstvideo-0.10.dll", "libgstaudio-0.10.dll") ) 171 ! grab_gst_syms("libgstreamer-0.10.dll",
171 { 172 "libgstvideo-0.10.dll",
172 LL_WARNS("MediaImpl") << "Couldn't find suitable GStreamer 0.10 support on this system - video playback disabled." << LL_ENDL; 173 "libgstaudio-0.10.dll")
173 return false; 174#elif LL_DARWIN
174 } 175 ! grab_gst_syms("libgstreamer-0.10.dylib",
176 "libgstvideo-0.10.dylib",
177 "libgstaudio-0.10.dylib")
175#else 178#else
176 if (! grab_gst_syms("libgstreamer-0.10.so.0", "libgstvideo-0.10.so.0", "libgstaudio-0.10.so.0") ) 179 ! grab_gst_syms("libgstreamer-0.10.so.0",
180 "libgstvideo-0.10.so.0",
181 "libgstaudio-0.10.so.0")
182#endif
183 )
177 { 184 {
178 LL_WARNS("MediaImpl") << "Couldn't find suitable GStreamer 0.10 support on this system - video playback disabled." << LL_ENDL; 185 LL_WARNS("MediaImpl") << "Couldn't find suitable GStreamer 0.10 support on this system - video playback disabled." << LL_ENDL;
179 return false; 186 return false;
180 } 187 }
181#endif 188
182 if (llgst_segtrap_set_enabled) 189 if (llgst_segtrap_set_enabled)
183 llgst_segtrap_set_enabled(FALSE); 190 llgst_segtrap_set_enabled(FALSE);
184 else 191 else