Don't add bogus typefind functions
authorWim Taymans <wim.taymans@gmail.com>
Sun, 26 Jan 2003 19:31:36 +0000 (19:31 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 26 Jan 2003 19:31:36 +0000 (19:31 +0000)
Original commit message from CVS:
Don't add bogus typefind functions

gst/asfdemux/gstasfdemux.c

index e2f0e26..7726ff1 100644 (file)
@@ -1606,7 +1606,6 @@ static gboolean
 plugin_init (GModule *module, GstPlugin *plugin)
 {
   GstElementFactory *factory;
-  GstTypeFactory *type;
   gint i = 0;
 
   /* this filter needs bytestream */
@@ -1620,8 +1619,10 @@ plugin_init (GModule *module, GstPlugin *plugin)
                                     &gst_asf_demux_details);
 
   while (asf_type_definitions[i].name) {
+    GstTypeFactory *type;
+
     type = gst_type_factory_new (&asf_type_definitions[i]);
-    gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (type));
+    //gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (type));
     i++;
   }