aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2009-03-28 18:42:42 -0500
committerJacek Antonelli2009-03-28 18:43:36 -0500
commite56c5f8e6939a1b79deb401b7e1fcd129e488d77 (patch)
treede0b34035c4b8856383b7011f729442275c31921 /linden
parentFixed/improved how slvideo gst plugin is registered. (diff)
downloadmeta-impy-e56c5f8e6939a1b79deb401b7e1fcd129e488d77.zip
meta-impy-e56c5f8e6939a1b79deb401b7e1fcd129e488d77.tar.gz
meta-impy-e56c5f8e6939a1b79deb401b7e1fcd129e488d77.tar.bz2
meta-impy-e56c5f8e6939a1b79deb401b7e1fcd129e488d77.tar.xz
Print out the plugins gstreamer finds, for debugging.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 5d4d553..d661f74 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -178,6 +178,21 @@ bool LLMediaImplGStreamer::startup (LLMediaManagerData* init_data)
178 // Init our custom plugins - only really need do this once. 178 // Init our custom plugins - only really need do this once.
179 gst_slvideo_init_class(); 179 gst_slvideo_init_class();
180 180
181
182 // List the plugins GStreamer can find
183 LL_DEBUGS("MediaImpl") << "Found GStreamer plugins:" << LL_ENDL;
184 GList *list;
185 GstRegistry *registry = gst_registry_get_default();
186 for (list = gst_registry_get_plugin_list(registry);
187 list != NULL;
188 list = g_list_next(list))
189 {
190 GstPlugin *list_plugin = (GstPlugin *)list->data;
191 LL_DEBUGS("MediaImpl") << gst_plugin_get_name(list_plugin) << LL_ENDL;
192 }
193 gst_plugin_list_free(list);
194
195
181 done_init = true; 196 done_init = true;
182 } 197 }
183 return true; 198 return true;