removed workaround for a bug that is fixed
authorBenjamin Otte <otte@gnome.org>
Tue, 5 Feb 2002 18:22:37 +0000 (18:22 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 5 Feb 2002 18:22:37 +0000 (18:22 +0000)
Original commit message from CVS:
removed workaround for a bug that is fixed

gst/autoplug/gstspideridentity.c

index 6343850..8d5ce64 100644 (file)
@@ -373,13 +373,8 @@ callback_typefind_have_type (GstElement *typefind, GstCaps *caps, GstSpiderIdent
   gboolean restart_spider = FALSE;
   
   GST_INFO (GST_CAT_AUTOPLUG, "element %s has found caps\n", GST_ELEMENT_NAME(ident));
-  /* checks */
-  
-  /* we have to ref the typefind, because if me remove it the scheduler segfaults 
-   * FIXME: get rid of the typefinder
-   */
-  gst_object_ref (GST_OBJECT (typefind));
-  
+
+  /* checks */  
   g_assert (GST_IS_ELEMENT (typefind));
   g_assert (GST_IS_SPIDER_IDENTITY (ident));