From 9aa1cb1aaa110eac5350a26c4c62c84bb1e65cd7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 26 Jan 2003 19:31:36 +0000 Subject: [PATCH] Don't add bogus typefind functions Original commit message from CVS: Don't add bogus typefind functions --- gst/asfdemux/gstasfdemux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index e2f0e26d6a..7726ff1f3d 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -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++; }