summaryrefslogtreecommitdiff
path: root/gstdoc-scangobj
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-09-23 11:52:24 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-09-23 11:52:24 +0000
commitb1ac65c3358773d726fd41ab3b7f7a63db001c88 (patch)
tree8a27f56fe494e302e64e9f5bda9e3560661449c5 /gstdoc-scangobj
parentcd4da6a319d9f92d28f7b8a3b412577e6de50b64 (diff)
g/: fix properly for new API; make update in plugins dir now works
Original commit message from CVS: * gst-xmlinspect.py: * gstdoc-scangobj: * gtk-doc-plugins.mak: fix properly for new API; make update in plugins dir now works
Diffstat (limited to 'gstdoc-scangobj')
-rwxr-xr-xgstdoc-scangobj5
1 files changed, 3 insertions, 2 deletions
diff --git a/gstdoc-scangobj b/gstdoc-scangobj
index b0fd63d..ac5940c 100755
--- a/gstdoc-scangobj
+++ b/gstdoc-scangobj
@@ -140,7 +140,7 @@ get_object_types (void)
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) {
@@ -162,7 +162,8 @@ get_object_types (void)
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));
}