aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2009-03-28 18:42:42 -0500
committerJacek Antonelli2009-03-28 18:43:36 -0500
commite56c5f8e6939a1b79deb401b7e1fcd129e488d77 (patch)
treede0b34035c4b8856383b7011f729442275c31921
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.
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp15
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 59c780c..dbfa5b6 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,9 @@
12009-03-28 Jacek Antonelli <jacek.antonelli@gmail.com>
2
3 * linden/indra/llmedia/llmediaimplgstreamer.cpp:
4 Print out the plugins gstreamer finds, for debugging.
5
6
12009-03-26 Jacek Antonelli <jacek.antonelli@gmail.com> 72009-03-26 Jacek Antonelli <jacek.antonelli@gmail.com>
2 8
3 * linden/indra/llmedia/llmediaimplgstreamervidplug.cpp: 9 * linden/indra/llmedia/llmediaimplgstreamervidplug.cpp:
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;