#include "gsttype.h"
#include "gstregistrypool.h"
#include "gstobject.h"
-#include "gstlog.h"
+#include "gstinfo.h"
/* global list of registered types */
g_return_val_if_fail (factory != NULL, 0);
-/* GST_INFO (GST_CAT_TYPES,"type register %s", factory->mime); */
+/* GST_CAT_INFO (GST_CAT_TYPES,"type register %s", factory->mime); */
id = gst_type_find_by_mime (factory->mime);
if (!id) {
/* if there is no existing typefind function, try to use new one */
}
- GST_DEBUG (GST_CAT_TYPES,"gsttype: %s(%p) gave new mime type '%s', id %d",
+ GST_CAT_DEBUG (GST_CAT_TYPES,"gsttype: %s(%p) gave new mime type '%s', id %d",
GST_OBJECT_NAME (factory), factory, type->mime, type->id);
type->factories = g_slist_prepend (type->factories, factory);
g_return_val_if_fail (mime != NULL, 0);
walk = _gst_types;
-/* GST_DEBUG (GST_CAT_TYPES,"searching for '%s'",mime); */
+/* GST_CAT_DEBUG (GST_CAT_TYPES,"searching for '%s'",mime); */
mimelen = strlen (mime);
while (walk) {
type = (GstType *)walk->data;
search = type->mime;
-/* GST_DEBUG (GST_CAT_TYPES,"checking against '%s'",search); */
+/* GST_CAT_DEBUG (GST_CAT_TYPES,"checking against '%s'",search); */
typelen = strlen (search);
while ((search - type->mime) < typelen) {
found = strstr (search, mime);
GstCaps *res = NULL;
GstTypeFactory *factory = (GstTypeFactory *)priv;
- GST_DEBUG (GST_CAT_TYPES,"gsttype: need to load typefind function for %s", factory->mime);
+ GST_CAT_DEBUG (GST_CAT_TYPES,"gsttype: need to load typefind function for %s", factory->mime);
if (gst_plugin_feature_ensure_loaded (GST_PLUGIN_FEATURE (factory))) {
if (factory->typefindfunc == gst_type_type_find_dummy) {