removed workaround for a bug that is fixed

Original commit message from CVS:
removed workaround for a bug that is fixed
This commit is contained in:
Benjamin Otte 2002-02-05 18:22:37 +00:00
parent c3ee55473f
commit d0a0cdbd9f

View 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));
g_assert (GST_IS_ELEMENT (typefind));
g_assert (GST_IS_SPIDER_IDENTITY (ident));