_gst_types = g_list_prepend (_gst_types, type);
id = type->id;
- GST_DEBUG (0,"gsttype: new mime type '%s', id %d\n", type->mime, type->id);
+ GST_DEBUG (GST_CAT_TYPES,"gsttype: new mime type '%s', id %d\n", type->mime, type->id);
} else {
type = gst_type_find_by_id (id);
g_return_val_if_fail (mime != NULL, 0);
walk = _gst_types;
-// GST_DEBUG (0,"searching for '%s'\n",mime);
+// GST_DEBUG (GST_CAT_TYPES,"searching for '%s'\n",mime);
mimelen = strlen (mime);
while (walk) {
type = (GstType *)walk->data;
search = type->mime;
-// GST_DEBUG (0,"checking against '%s'\n",search);
+// GST_DEBUG (GST_CAT_TYPES,"checking against '%s'\n",search);
typelen = strlen (search);
while ((search - type->mime) < typelen) {
found = strstr (search, mime);
guint16 typeid;
GSList *funcs;
- GST_DEBUG (0,"gsttype: need to load typefind function for %s\n", type->mime);
+ GST_DEBUG (GST_CAT_TYPES,"gsttype: need to load typefind function for %s\n", type->mime);
type->typefindfuncs = NULL;
gst_plugin_load_typefactory (type->mime);