diff options
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 15 |
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 @@ | |||
1 | 2009-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 | |||
1 | 2009-03-26 Jacek Antonelli <jacek.antonelli@gmail.com> | 7 | 2009-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; |