fix uri handler iteration in gst-inspect
authorAndy Wingo <wingo@oblong.net>
Mon, 23 Feb 2009 14:24:00 +0000 (15:24 +0100)
committerAndy Wingo <wingo@oblong.net>
Mon, 23 Feb 2009 14:24:00 +0000 (15:24 +0100)
* tools/gst-inspect.c (print_all_uri_handlers): Whoops, fix iteration.
  I'm stupid.

tools/gst-inspect.c

index 0d9a658..227e5ed 100644 (file)
@@ -1034,7 +1034,7 @@ print_all_uri_handlers (void)
         plugin->desc.name);
 
     for (f = features; f; f = f->next) {
-      GstPluginFeature *feature = GST_PLUGIN_FEATURE (features->data);
+      GstPluginFeature *feature = GST_PLUGIN_FEATURE (f->data);
 
       if (GST_IS_ELEMENT_FACTORY (feature)) {
         GstElementFactory *factory;