+2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst-xmlinspect.py:
+ * gstdoc-scangobj:
+ * gtk-doc-plugins.mak:
+ fix properly for new API; make update in plugins dir now works
+
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-xmlinspect.py:
version = plugin.get_version()
elements = {}
- #gst.debug('getting features for plugin %s' % plugin.get_name())
- for feature in plugin.get_feature_list():
+ gst.debug('getting features for plugin %s' % plugin.get_name())
+ registry = gst.registry_get_default()
+ features = registry.get_feature_list_by_plugin(plugin.get_name())
+ gst.debug('plugin %s has %d features' % (plugin.get_name(), len(features)))
+ for feature in features:
if isinstance(feature, gst.ElementFactory):
elements[feature.get_name()] = feature
#gst.debug("got features")
registry = gst.registry_get_default()
all = registry.get_plugin_list()
for plugin in all:
+ gst.debug("inspecting plugin %s from source %s" % (
+ plugin.get_name(), plugin.get_source()))
if plugin.get_source() != source:
continue
gint i = 0;
- /* get the list of plugins from the registry */
+ /* get a list of features from plugins in our source module */
plugins = gst_registry_get_plugin_list (gst_registry_get_default());
while (plugins) {
while (features) {
GstPluginFeature *feature;
feature = GST_PLUGIN_FEATURE (features->data);
- if (!gst_plugin_feature_load (feature)) {
+ feature = gst_plugin_feature_load (feature);
+ if (!feature) {
g_warning ("Could not load plugin feature %s",
gst_plugin_feature_get_name (feature));
}